[COMMON] fimc-is2: Flush the old H/W frames for shot done sequence
authorSanghoon Lee <shoon114.lee@samsung.com>
Fri, 1 Jun 2018 07:21:44 +0000 (16:21 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Tue, 19 Jun 2018 08:43:41 +0000 (17:43 +0900)
commite1880609a0097106a81e97eb846476f6a9b049ca
tree647e892963a66132245cdfb9e972014a73b25905
parent26a6a1ba6bea0720a069958e3795feb16679fd35
[COMMON] fimc-is2: Flush the old H/W frames for shot done sequence

If there are the old frames in H/W frame manager,
the matched frames in subdev frame manager will be flushed to user as NDONE.
When user gets the shot data of these frames, every kernel virtual address for the frames is unmapped.
To avoid accessing invalid kernel virtual address in H/W frames,
they should also be flushed in shot done sequence.

Change-Id: I2e1262cac42a31fd7c3567885e0afbc82790ab83
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c