[COMMON] media: mfc: check the MFC pending
authorAyoung Sim <a.sim@samsung.com>
Tue, 22 Jan 2019 07:04:53 +0000 (16:04 +0900)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:45:37 +0000 (23:45 +0900)
commit6966602483761c39ecb404e4db52c411cb634ca5
tree4cd47e1fa025b61ae1969f451fd7d67be779af3f
parent8d4cc7b98ec72be9249576fba9a0bc4081307196
[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