From: Sunyoung Kang Date: Wed, 24 Jan 2018 23:58:58 +0000 (+0900) Subject: media: mfc: remove 0xD000~0xD074 SFR dump X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a42663ee77101abcbb55c9d5827ec117eaf86d3c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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",