Patchwork [031/100] video: mxsfb: Add missing break

login
register
mail settings
Submitter Luis Henriques
Date Oct. 11, 2013, 10:41 a.m.
Message ID <1381488130-30235-32-git-send-email-luis.henriques@canonical.com>
Download mbox | patch
Permalink /patch/282628/
State New
Headers show

Comments

Luis Henriques - Oct. 11, 2013, 10:41 a.m.
3.5.7.23 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: Marek Vasut <marex@denx.de>

commit 6d0bb818041a02be682abadb3ba35ff608f7d60a upstream.

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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 drivers/video/mxsfb.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index fc2c4381..dc7b4fc 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -616,6 +616,7 @@  static int __devinit mxsfb_restore_mode(struct mxsfb_info *host)
 		break;
 	case 3:
 		bits_per_pixel = 32;
+		break;
 	case 1:
 	default:
 		return -EINVAL;