[COMMON] fimc-is2: Check too fast H/W frame handling condition
authorSanghoon Lee <shoon114.lee@samsung.com>
Fri, 1 Jun 2018 06:22:30 +0000 (15:22 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Tue, 19 Jun 2018 08:43:40 +0000 (17:43 +0900)
commit26a6a1ba6bea0720a069958e3795feb16679fd35
tree5f3a8c9cd9553e1775cda84ae285722df7550802
parent2de2b8a745c49b7821911476ec8f1204097f386a
[COMMON] fimc-is2: Check too fast H/W frame handling condition

When it receives the frame end interrupt callback from DDK,
driver must compare the current frame count from DDK and the selected H/W frame's fcount.
If the fcount of frame is too earlier than frame count from DDK,
it should be skipped for the correct frame end interrupt callback.

Change-Id: I1f0a5543e2f7e35027373401e1fe8c2c2f3294c1
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/interface/fimc-is-interface-ddk.c