Explorar o código

msm: camera: isp: Correct packer format for RS stats

Correct the packet format for RS stats configuration
during acquire time.

CRs-Fixed: 3206699
Change-Id: Ibcc615416603d427da0c41e8a2c2d519664367c8
Signed-off-by: Alok Chauhan <[email protected]>
Alok Chauhan hai 1 ano
pai
achega
4ffc32da32
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_bus.c

+ 4 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_bus.c

@@ -818,6 +818,10 @@ static int cam_tfe_bus_acquire_wm(
 		rsrc_data->height = 0;
 		rsrc_data->stride = 1;
 		rsrc_data->en_cfg = (0x1 << 16) | 0x1;
+
+		/*RS state packet format*/
+		if (rsrc_data->index == 15)
+			rsrc_data->pack_fmt = 0x9;
 	} else {
 		CAM_ERR(CAM_ISP, "Invalid WM:%d requested", rsrc_data->index);
 		return -EINVAL;