hdmi:rk3368/rk3288: set color format in avi to RGB before mute output.
authorZheng Yang <zhengyang@rock-chips.com>
Fri, 10 Jul 2015 03:00:49 +0000 (11:00 +0800)
committerZheng Yang <zhengyang@rock-chips.com>
Fri, 10 Jul 2015 03:00:49 +0000 (11:00 +0800)
commit132ad528d034c38bd9b43bb8f08a5c2910a968c2
tree4bf933c787e3780afb8f28a88a4dac95394e3527
parent4c335b30eca75b1139912b28954dea132f9205f9
hdmi:rk3368/rk3288: set color format in avi to RGB before mute output.

        For some sink, it will random recognize YCbCr as RGB when swithing
        hdmi format, picture will covered with purple. If we set color
        fomat in avi to RGB and reset avi to YCbCr, picture will be ok. So
        we set avi to RGB before mute ouput when switching hdmi format.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/video/rockchip/hdmi/rockchip-hdmiv2/rockchip_hdmiv2_hw.c