]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fix runtime_pm fimd device state on probe
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 8 Mar 2012 01:28:56 +0000 (10:28 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 15 Mar 2012 02:38:59 +0000 (11:38 +0900)
commitba0f70255fd74cf3343472e550804ca8d46ce903
tree8799f2509f1a7081dfce5394a1db84e86aa25aba
parentf0e12aa13b63d2da8f1defb91fed4d437316b7a4
drm/exynos: fix runtime_pm fimd device state on probe

A call to pm_runtime_set_active() forces device to be at the active
state and skips calling its runtime suspend/resume callbacks. This
results in a freeze with a new power domain code based on gen_pd. Fimd
driver does all required runtime power management calls, so this
pm_runtime_set_active call is buggy. This patch removes it and corrects
clock management in probe function (clocks are now enabled by
pm_runtime_get_sync() call).

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