OSDN Git Service

drm/omap: fix OMAP4 hdmi_core_powerdown_disable()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 1 Apr 2016 07:29:29 +0000 (10:29 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 31 May 2016 05:20:42 +0000 (08:20 +0300)
commit91cd220aadc88dff6650127e7b19a85569ef8b7c
treec695e008b7470bbc1a9a815c19ce3fafd98e5da3
parentd9e32ecda41bb6b6301fd2a0945003bb8f4e2ba1
drm/omap: fix OMAP4 hdmi_core_powerdown_disable()

hdmi_core_powerdown_disable() is supposed to disable HDMI core's
power-down mode. However, the function sets the power-down bit to 0,
which means "enable power-down".

This hasn't caused any issues as the PD seems to affect only interrupts
from HDMI core, and none of those interrupts are used at the moment. CEC
functionality requires core interrupts, and the PD mode needs to be
fixed.

This patch fixes hdmi_core_powerdown_disable() to actually disable the
PD mode.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c