]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: set power state variable after enabling clocks and power
authorRahul Sharma <rahul.sharma@samsung.com>
Mon, 23 Jun 2014 05:32:21 +0000 (11:02 +0530)
committerInki Dae <inki.dae@samsung.com>
Tue, 24 Jun 2014 02:25:57 +0000 (11:25 +0900)
commit0242b14407195655e398b5b571d4df029a67a015
treed905c9c1aa972cdd0e2760a10291c760c56cdfa8
parentc9ca2c3db9a3a5ad7bd9fc4dfc782a50b1781318
drm/exynos: set power state variable after enabling clocks and power

Power state variable holds the state of the mixer device.
Power on and power off functions are toggling these variable
at wrong place.

State variable should be changed to true only after Runtime
PM and clocks are enabled. Else it may result to a situation
where mixer registers are accessed with device power enabled.
Similar logic for poweroff sequence.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c