media: mfc: remove 0xD000~0xD074 SFR dump
authorSunyoung Kang <sy0816.kang@samsung.com>
Wed, 24 Jan 2018 23:58:58 +0000 (08:58 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:21 +0000 (20:22 +0300)
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 <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/s5p_mfc_watchdog.c

index 90848af615ae2666741c7f095918af8a77999f37..8a936b458cd7be07107ac84c6fe3a656f3b04e91 100644 (file)
@@ -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",