From ae145a0429c9f7a39b0d3e6568bfa62e8a90b8ca Mon Sep 17 00:00:00 2001 From: Sunyoung Kang Date: Thu, 25 Jan 2018 08:58:58 +0900 Subject: [PATCH] media: mfc: remove 0xD000~0xD074 SFR dump The 0xD000~0xD074 SFR is shadow register using for encoder performance. When dumping this region ITMON error is generated. This SFR is unnecessary for debugging so this patch removes it. Change-Id: Ica259c8c6fc2d1b8a51c2551a80e2b6a52db63cd Signed-off-by: Sunyoung Kang --- drivers/media/platform/exynos/mfc/s5p_mfc_watchdog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/platform/exynos/mfc/s5p_mfc_watchdog.c b/drivers/media/platform/exynos/mfc/s5p_mfc_watchdog.c index 90848af615ae..8a936b458cd7 100644 --- a/drivers/media/platform/exynos/mfc/s5p_mfc_watchdog.c +++ b/drivers/media/platform/exynos/mfc/s5p_mfc_watchdog.c @@ -25,7 +25,7 @@ #include "s5p_mfc_queue.h" #include "s5p_mfc_utils.h" -#define MFC_SFR_AREA_COUNT 22 +#define MFC_SFR_AREA_COUNT 21 static void mfc_dump_regs(struct s5p_mfc_dev *dev) { int i; @@ -52,7 +52,6 @@ static void mfc_dump_regs(struct s5p_mfc_dev *dev) { 0xA000, 0x20C }, { 0xB000, 0x444 }, { 0xC000, 0x84 }, - { 0xD000, 0x74 }, }; pr_err("-----------dumping MFC registers (SFR base = 0x%p, dev = 0x%p)\n", -- 2.20.1