Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 474b67e3 authored by Junzhe Zou's avatar Junzhe Zou
Browse files

msm: camera: lrme: Add P010 format support to LRME



Add P010 input format to LRME to support dual camera.

Change-Id: Ica282d896c8cf4e9dd5c05f511285ff0d5516d65
Signed-off-by: default avatarJunzhe Zou <jnzhezou@codeaurora.org>
parent 2f7c4348
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -68,6 +68,10 @@ static void cam_lrme_hw_util_fill_fe_reg(struct cam_lrme_hw_io_buffer *io_buf,
		cam_lrme_cdm_write_reg_val_pair(reg_val_pair, num_cmd,
			hw_info->bus_rd_reg.bus_client_reg[index].unpack_cfg_0,
			0x1);
	else if (io_buf->io_cfg->format == CAM_FORMAT_PLAIN16_10)
		cam_lrme_cdm_write_reg_val_pair(reg_val_pair, num_cmd,
			hw_info->bus_rd_reg.bus_client_reg[index].unpack_cfg_0,
			0x22);
	else
		CAM_ERR(CAM_LRME, "Unsupported format %d",
			io_buf->io_cfg->format);