commit | 18e249a842a459c14624354f00ef3434d3b6c643 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Feb 21 01:10:56 2012 -0800 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue Apr 03 23:16:09 2012 -0700 |
tree | 864d2534d45f07d78f2551fd6274515001012988 | |
parent | 833972132207278bb7ba95cbfe8df48733dc4c5d [diff] |
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: Stephen Boyd <sboyd@codeaurora.org>