소스 검색

msm: camera: isp: Address minor issues in SFE driver

Update index of debug status register when dumping hung module info.
Also update a log in sfe bus wr.

CRs-Fixed: 2841729
Change-Id: Ide5c6f2a8c564f785749c1045ca2fa27bb30422c
Signed-off-by: Karthik Anantha Ram <[email protected]>
Karthik Anantha Ram 4 년 전
부모
커밋
ba07f3db4d

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_wr.c

@@ -1898,7 +1898,7 @@ static int cam_sfe_bus_wr_irq_bottom_half(
 	status = evt_payload->irq_reg_val[CAM_SFE_IRQ_BUS_REG_STATUS0];
 
 	CAM_ERR(CAM_SFE,
-		"SFE:%d status 0x%x Image Size violation status 0x%x CCIF violation status 0x%x",
+		"SFE:%d status0 0x%x Image Size violation status 0x%x CCIF violation status 0x%x",
 		bus_priv->common_data.core_index, status,
 		evt_payload->image_size_violation_status,
 		evt_payload->ccif_violation_status);

+ 2 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_top/cam_sfe_top.c

@@ -435,7 +435,8 @@ static void cam_sfe_top_check_module_status(
 			found = true;
 		}
 		if (found)
-			CAM_INFO_RATE_LIMIT(CAM_SFE, "Check config for Debug%u - %s", log_buf);
+			CAM_INFO_RATE_LIMIT(CAM_SFE, "Check config for Debug%u - %s",
+				i, log_buf);
 		len = 0;
 		found = false;
 		memset(log_buf, 0, sizeof(uint8_t)*1024);