]> 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)
commit3f04d127ebd8574798aff991dc7e4e553a20412c
treeb40add5c3c55009fc1ad7212b7103c05c38f3439
parent12f5f732c1b2c16db2a51ee00feb424277386c19
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