imx: mx6: hdmi: handle overflow condition
authorPeng Fan <van.freenix@gmail.com>
Wed, 9 Mar 2016 08:07:23 +0000 (16:07 +0800)
committerAnatolij Gustschin <agust@denx.de>
Mon, 14 Mar 2016 21:53:45 +0000 (22:53 +0100)
commit00b1d2d3178747c113dd8f939cf3e2d449bfaf54
tree942b095d5b968fdc22725cd19abb0fd0a457c76a
parent51674985751b947521f3fea2636ccf799ff1f487
imx: mx6: hdmi: handle overflow condition

If HDMI_IH_FC_STAT2_OVERFLOW_MASK is set, we need to
do TMDS software reset and write to clear fc_invidconf register.
We need minimum 3 times to write to clear the fc_invidconf
register, so choose 5 loops here.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Signed-off-by: Sandor Yu <sandor.yu@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/cpu/armv7/mx6/soc.c