[COMMON] media: smfc: wait until the current job finishes before suspending
authorCho KyongHo <pullip.cho@samsung.com>
Thu, 23 Apr 2015 05:19:22 +0000 (14:19 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:18 +0000 (20:22 +0300)
commit0c113eca04dff9f56ec851c8aba359045395027d
tree296b38151360ad0430b9684e86ed47e17f32e739
parentcb95bf7d6bdd0c389717df9c23a0dc19eee36394
[COMMON] media: smfc: wait until the current job finishes before suspending

The driver should ensure that the H/W controlled by the driver is in
idle state so that it is safe to enter the low power mode. SMFC driver
waits until the current job is finished and resuming completion of the
current job after resuming from the low power mode.

Change-Id: I4020a596342a4091fa1c64cdada033ca83c0b76e
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc.c
drivers/media/platform/exynos/smfc/smfc.h