Commit 18e249a8 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm_fb: lvds: Fix uninitialized variable warnings



The compiler doesn't know that there are only two values for
mfd->panel_info.bpp. Add an else arm to catch the unknown third
value as a BUG() so that we avoid writing initialized variables
to registers.

Change-Id: I643df7e256cda59a4af73571e1cc5eef610d781f
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 83397213
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment