Skip to content

Commit

Permalink
video: mxsfb: Add missing break
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Vasut authored and Tomi Valkeinen committed Sep 26, 2013
1 parent 60119a1 commit 6d0bb81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/mxsfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d0bb81

Please sign in to comment.