[COMMON] media: smfc: use s/w timer if HWFC is enabled
authorCho KyongHo <pullip.cho@samsung.com>
Wed, 22 Jul 2015 14:42:02 +0000 (23:42 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:10 +0000 (14:31 +0900)
commitf4dab9fe656f8d19e4812cc39eb0922e116d8a7d
tree826e2f0d1037de6978ac344007b7f8d230598b6f
parent28426402be90445115d536e3f5af1ad2e28f4fed
[COMMON] media: smfc: use s/w timer if HWFC is enabled

If HWFC is enabled, the internal timer in the H/W is not available
because when the H/W finishes depends on the outside of SMFC itself.
Instead of the internal timer, S/W timer is used for the case of HWFC.
S/W timer is expired if the H/W is not completed in a second that is
quite huge amount of time.

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