mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm: bridge: dw-hdmi: clear overflow when switch color format
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I98682e8cc085829fd9fde16d7e14efa08ab8128a
This commit is contained in:
@@ -2539,8 +2539,6 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
|
||||
unsigned int i;
|
||||
u8 val;
|
||||
|
||||
if (hdmi->update)
|
||||
return;
|
||||
/*
|
||||
* Under some circumstances the Frame Composer arithmetic unit can miss
|
||||
* an FC register write due to being busy processing the previous one.
|
||||
@@ -2584,8 +2582,6 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)
|
||||
|
||||
static void hdmi_disable_overflow_interrupts(struct dw_hdmi *hdmi)
|
||||
{
|
||||
if (hdmi->update)
|
||||
return;
|
||||
hdmi_writeb(hdmi, HDMI_IH_MUTE_FC_STAT2_OVERFLOW_MASK,
|
||||
HDMI_IH_MUTE_FC_STAT2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user