rk32: lvds/rgb: fix rgb output when have no lvds_format
authorMark Yao <mark.yao@rock-chips.com>
Mon, 10 Aug 2015 08:22:51 +0000 (16:22 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 10 Aug 2015 08:25:45 +0000 (16:25 +0800)
commit2a5ef267a1ce8a66e7ebb815e0f8445681a190ba
treeae1a4d0501728ecc66cba8af81c22e360b252f45
parent4087b86c47a6ee72abd84466c8bf97ba26955fb2
rk32: lvds/rgb: fix rgb output when have no lvds_format

If we don't add lvds_format on the display timing, the lvds_format
value may be -1, means 0xffffffff when do register write, that is
wrong and display not works.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/transmitter/rk32_lvds.c