[COMMON] fimc-is2: Skip flushing for hw frames from different instance
authorSanghoon Lee <shoon114.lee@samsung.com>
Thu, 4 Oct 2018 09:19:12 +0000 (18:19 +0900)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:24:56 +0000 (11:24 +0800)
commit57871b4c5ad2c77914e7e404e82da11afbc024aa
treec47814aee45b6759ab6561c083d12e4fef19be99
parentd0d3245b1908985fa01deb93d5a71398e2daa0fb
[COMMON] fimc-is2: Skip flushing for hw frames from different instance

H/W framemgr could have the multiple frames from different instance.
Currently, H/W frame can be flushed by checking old frame count, only,
and it could flush the other frame that doesn't mean to.
So, it is required to check the instnace number in frame to flush them.

PR JIRA ID: CPR-291

CRs-fixed: (CR)

Change-Id: I48a1b5b5cb579b1ea4299a896f2910c8d0eb24b6
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Reviewed-on: https://gerrit.mot.com/1332441
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c