]> git.baikalelectronics.ru Git - kernel.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)
commitee9b8d5f98cf0d2e2f519b25da248451090023ad
treeb40add5c3c55009fc1ad7212b7103c05c38f3439
parentf77dc291cf396f411c5bde2f7afa2b9d21f34abd
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