[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)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:30:56 +0000 (14:30 +0900)
commite03261594775a56c65e53a293eb586ca42a78928
treec8680592d213630525471cb87e1a4327021dc6a0
parent2c8a5ba3320df9158ce2fe80a533b8b76a75250e
[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