[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)
commitf9f7f5f44750e72f6d97816783f68de683b1a8ac
tree4cd47e1fa025b61ae1969f451fd7d67be779af3f
parent5e08e75782882597fb2a084556d9ad6b63c14ffa
[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