]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/exynos: mic: Add runtime PM support
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 13 Jan 2017 08:30:00 +0000 (09:30 +0100)
committerInki Dae <inki.dae@samsung.com>
Mon, 30 Jan 2017 23:49:38 +0000 (08:49 +0900)
commit4e8ba5cc8863562cb948e26f614217a873f34bac
treeb40add5c3c55009fc1ad7212b7103c05c38f3439
parent328c057ca4def7040872032cd22df5347fa5e956
drm/exynos: mic: Add runtime PM support

This patch adds runtime support calls to notify device core when MIC
device is really in use. Runtime PM is implemented by enabling and
disabling clocks like in other Exynos DRM subdrivers. Adding runtime
PM support is needed to let power domain with this device to be turned
off when display is not used.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_mic.c