From: Toyo Abe <toyo....@gmail.com>

According to the datasheet, write one to clear these UNDERRUN flag bits.
This fixes the following warning in dmesg.

[15357.574902] had: Unable to clear UNDERRUN bits

Signed-off-by: Toyo Abe <toyo....@gmail.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.boss...@linux.intel.com>
---
 sound/hdmi_audio/intel_mid_hdmi_audio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/hdmi_audio/intel_mid_hdmi_audio.c 
b/sound/hdmi_audio/intel_mid_hdmi_audio.c
index e696c80..b86c37a 100644
--- a/sound/hdmi_audio/intel_mid_hdmi_audio.c
+++ b/sound/hdmi_audio/intel_mid_hdmi_audio.c
@@ -1135,7 +1135,6 @@ static void had_clear_underrun_intr_v2(struct 
snd_intelhad *intelhaddata)
                pr_debug("HDMI status =0x%x\n", hdmi_status);
                if (hdmi_status & AUD_CONFIG_MASK_UNDERRUN) {
                        i++;
-                       hdmi_status &= ~AUD_CONFIG_MASK_UNDERRUN;
                        had_write_register(AUD_HDMI_STATUS_v2, hdmi_status);
                } else
                        break;
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to