[PATCH] video: mxsfb: Add missing break

Marek Vasut marex at denx.de
Tue Oct 1 00:22:30 EDT 2013


Add missing break into the restore function.

Upstream commit: 6d0bb818041a02be682abadb3ba35ff608f7d60a

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Fabio Estevam <fabio.estevam at freescale.com>
Cc: Shawn Guo <shawn.guo at linaro.org>
Cc: stable at vger.kernel.org

---
 drivers/video/mxsfb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 21223d4..75c5b4e 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -647,6 +647,7 @@ static int mxsfb_restore_mode(struct mxsfb_info *host)
 		break;
 	case 3:
 		bits_per_pixel = 32;
+		break;
 	case 1:
 	default:
 		return -EINVAL;
-- 
1.8.4.rc3




More information about the linux-arm-kernel mailing list