[COMMON] media: scaler: fix possible clk enable after shutdown
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 9 Jan 2017 08:29:12 +0000 (17:29 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:16 +0000 (20:22 +0300)
commitaa1bcc0d7705d32fc4e7dc66ba55de2e25402b98
tree9820330c482e3ba68991cc548ce98dcb9bef2929
parent6f3f89bbb101505e81fb74d0761a061eb34bb6e1
[COMMON] media: scaler: fix possible clk enable after shutdown

sc_shutdown() is called during system shutdown and it marks drvdata
that it is under shutdown state. However, a task is requested to be
processed after sc_shutdown() is called, sc_run_next_job() enables
the power and the clocks of Scaler even though the power domain is
already detached.

Change-Id: Ib90ac0d870a381a4e3a99455a749ff42ff0d5565
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c