OMAPDSS: hdmi5: Change hdmi_wp idlemode to to no_idle for audio playback
authorJyri Sarha <jsarha@ti.com>
Thu, 23 Oct 2014 10:07:05 +0000 (13:07 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 1 Dec 2014 09:10:02 +0000 (11:10 +0200)
commit2d7639bc02457da149837962656c2bd2b94c5873
tree6f23867a7387f78efe5d843b56b3cd5a0e8dde68
parent84a845de578a6d46e13307edc2fb27b423213eff
OMAPDSS: hdmi5: Change hdmi_wp idlemode to to no_idle for audio playback

Enabling idle mode during audio playback causes the glitches on OMAP5
HDMI. The TRM also suggests to use no-idle for HDMI audio playback.

This patch sets HDMI idle mode to no-idle for the duration of the
playback, and restores it back to original value afterwards.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/hdmi.h
drivers/video/fbdev/omap2/dss/hdmi5.c