[COMMON] media: mfc: check the MFC pending
authorAyoung Sim <a.sim@samsung.com>
Tue, 22 Jan 2019 07:04:53 +0000 (16:04 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:28 +0000 (20:23 +0300)
commit7bd6e697cf005559f30803c8bff7c0bb4f10ad3f
tree3be0a6c24c5028eff5c614203b87e4a2abb1d92d
parentc8e45a77c0e6f24cb4989954f33a0bd8a266ed67
[COMMON] media: mfc: check the MFC pending

MFC transaction should never occur in the section
where the MFC attribute is changed. (Normal <-> Secure)
But transaction can be send by HWACG although clock was disabled.
So, we check the pending both F/W and H/W.

Change-Id: I9f5b9eafa5c94cd159142be0e906638544467072
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
drivers/media/platform/exynos/mfc/mfc_hw_reg_api.h
drivers/media/platform/exynos/mfc/mfc_pm.c
drivers/media/platform/exynos/mfc/mfc_regs.h