From a30dfea1551316cb9ee5cac1e385de2c33010fd6 Mon Sep 17 00:00:00 2001 From: Vikash Garodia Date: Thu, 3 Dec 2020 14:11:43 +0530 Subject: [PATCH] msm: vidc: avoid access to unwanted register While processing the response from video hardware, video driver is accessing a register which does not exist. It is even not needed for functionality purpose. Removing the access for the same. Change-Id: Ib4fec718d2f057860878bf8928b96fb46be47b13 Signed-off-by: Vikash Garodia --- msm/vidc/hfi_ar50_lt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/msm/vidc/hfi_ar50_lt.c b/msm/vidc/hfi_ar50_lt.c index f883cdfc8d26..85b4909342e7 100644 --- a/msm/vidc/hfi_ar50_lt.c +++ b/msm/vidc/hfi_ar50_lt.c @@ -87,7 +87,6 @@ #define VIDC_WRAPPER_INTR_MASK_A2HCPU_BMSK_AR50_LT 0x4 #define VIDC_WRAPPER_INTR_MASK_A2HCPU_SHFT_AR50_LT 0x2 -#define VIDC_WRAPPER_INTR_CLEAR_AR50_LT (VIDC_WRAPPER_BASE_OFFS_AR50_LT + 0x14) #define VIDC_WRAPPER_INTR_CLEAR_A2HWD_BMSK_AR50_LT 0x10 #define VIDC_WRAPPER_INTR_CLEAR_A2HWD_SHFT_AR50_LT 0x4 #define VIDC_WRAPPER_INTR_CLEAR_A2H_BMSK_AR50_LT 0x4 @@ -246,7 +245,6 @@ void __core_clear_interrupt_ar50_lt(struct venus_hfi_device *device) } __write_register(device, VIDC_CPU_CS_A2HSOFTINTCLR_AR50_LT, 1, DEFAULT_SID); - __write_register(device, VIDC_WRAPPER_INTR_CLEAR_AR50_LT, intr_status, DEFAULT_SID); } int __boot_firmware_ar50_lt(struct venus_hfi_device *device, u32 sid)