video: fix Coverity missing break issue
authorAnatolij Gustschin <agust@denx.de>
Mon, 6 Jan 2020 22:00:38 +0000 (23:00 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 4 Feb 2020 22:02:56 +0000 (23:02 +0100)
commitab6ea931deeb8e435aeeb251bac7a2433e016271
tree2a71446d3df4743e93bd2c08688ca96da37ff51f
parentd861183dc531b74479f92bf4c8de8ad60a0a0d56
video: fix Coverity missing break issue

Fix:
>>>  CID 280902:  Control flow issues  (MISSING_BREAK)
>>>  The case for value "VIDEO_BPP32" is not terminated
>>>  by a 'break' statement.

Also fix
error: control reaches end of non-void function [-Werror=return-type]

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/vidconsole-uclass.c