Browse Source

Merge "msm: camera: isp: Fix frame header alignment issue" into camera-kernel.lnx.4.0

Camera Software Integration 4 năm trước cách đây
mục cha
commit
642825a2eb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -6115,7 +6115,7 @@ static int cam_ife_mgr_util_insert_frame_header(
 	/* frame header address needs to be 16 byte aligned */
 	if (frame_header_iova % 16) {
 		padded_bytes = (uint32_t)(16 - (frame_header_iova % 16));
-		iova_addr += padded_bytes;
+		frame_header_iova += padded_bytes;
 	}
 
 	prepare_hw_data->frame_header_iova = frame_header_iova;