summaryrefslogtreecommitdiffstats
path: root/drivers/video/mxsfb.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-09-26 13:13:58 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-26 15:33:23 +0300
commit6d0bb818041a02be682abadb3ba35ff608f7d60a (patch)
treebfc700867800b9df4e5e462929b29273dacfcdf8 /drivers/video/mxsfb.c
parent60119a1d686702504fa4cbe666cbcb96744b175c (diff)
downloadblackbird-op-linux-6d0bb818041a02be682abadb3ba35ff608f7d60a.tar.gz
blackbird-op-linux-6d0bb818041a02be682abadb3ba35ff608f7d60a.zip
video: mxsfb: Add missing break
Add missing break into the restore function. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/mxsfb.c')
-rw-r--r--drivers/video/mxsfb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index d250ed0f806d..27197a8048c0 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -620,6 +620,7 @@ static int mxsfb_restore_mode(struct mxsfb_info *host)
break;
case 3:
bits_per_pixel = 32;
+ break;
case 1:
default:
return -EINVAL;
OpenPOWER on IntegriCloud