From mboxrd@z Thu Jan 1 00:00:00 1970 From: marex@denx.de (Marek Vasut) Date: Thu, 3 Oct 2013 18:26:11 +0200 Subject: [PATCH] video: mxsfb: Add missing break In-Reply-To: <87bo362uvu.fsf@canonical.com> References: <1380601350-6665-1-git-send-email-marex@denx.de> <87bo362uvu.fsf@canonical.com> Message-ID: <201310031826.11531.marex@denx.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dear Luis Henriques, > Marek Vasut writes: > > Add missing break into the restore function. > > > > Upstream commit: 6d0bb818041a02be682abadb3ba35ff608f7d60a > > > > Signed-off-by: Marek Vasut > > Cc: Fabio Estevam > > Cc: Shawn Guo > > 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; > > Thanks, I believe this fix is applicable to all the stable kernels. > I'm queuing it for the 3.5 kernel. Thanks! btw. it'd be nice if you could push the kernel.ubuntu.com admins to fix their git server ( https://bugs.launchpad.net/ubuntu/+source/git/+bug/1228148 ) ;-) Best regards, Marek Vasut