[COMMON] media: smfc: fix inconsistency in hardware state
authorCho KyongHo <pullip.cho@samsung.com>
Mon, 18 May 2015 07:37:49 +0000 (16:37 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:02 +0000 (14:31 +0900)
commite83ada5c332ea043cff66fa4ec8dc6d1b5ffd35f
treef7b6864851e61d942daa212db240c40fa3e31fba
parent6053041c519dd643000eef3cc141adb5eecfbf0f
[COMMON] media: smfc: fix inconsistency in hardware state

Setting SMFC_DEV_RUNNING is after configuring H/W to start working.
If IRQ is occurred before configuring the flag, the IRQ handler
is called before the flag set.

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