drm/exynos: add check for the device power status
authorShirish S <s.shirish@samsung.com>
Thu, 24 Jan 2013 03:03:18 +0000 (22:03 -0500)
committerInki Dae <inki.dae@samsung.com>
Fri, 25 Jan 2013 05:38:46 +0000 (14:38 +0900)
commitdda9012b2ad98f0ed124ea1f44b82f8b2288f697
tree589dd10b71dc55312474e53dd72b3f2c66b27ce7
parent428982e70ad1a6dbd583d6fb4f896595dac382e1
drm/exynos: add check for the device power status

V2: Add mutex protection, while read.

The hdmi and mixer win_commit calls currently are
not checking the status of IP before updating the
respective registers, this patch adds this check.

Signed-off-by: Shirish S <s.shirish@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_mixer.c