[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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:19 +0000 (20:22 +0300)
commit323429e2402900823f830820892aab4b45ed417a
treea0d854680a922ead90627f3e3d5048f78f3d3bf2
parent1f98ac1b6127aced6686a6bd5f4325518aa21ea5
[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