mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
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>
This commit is contained in:
parent
60119a1d68
commit
6d0bb81804
@ -620,6 +620,7 @@ static int mxsfb_restore_mode(struct mxsfb_info *host)
|
|||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
bits_per_pixel = 32;
|
bits_per_pixel = 32;
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user