hdmitx: fix the zigzag problem in color depth mode
authorYi Zhou <yi.zhou@amlogic.com>
Wed, 21 Mar 2018 13:13:55 +0000 (21:13 +0800)
committerYi Zhou <yi.zhou@amlogic.com>
Thu, 29 Mar 2018 05:45:32 +0000 (21:45 -0800)
commit199636b244190e70ba3b375996a13e5fb9200833
tree57334860dd13522f0874b7c066b8f071ed5a320e
parent2482566150fe4b6d28f34fee1b4ed1aa710ea782
hdmitx: fix the zigzag problem in color depth mode

PD#160883: hdmitx: fix the zigzag problem in color depth mode

When reset HDMITX_DWC_MC_SWRSTZREQ directly, these pulses may not align.
Therefore, the following steps must be executed.

steps
1.disable video encoder output and controller clocks
2.reset HDMITX_DWC_MC_SWRSTZREQ
3.enable video encoder output and controller clocks

Change-Id: I6cebc299d0a61da878d7c87a131d06f2601b2989
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c