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

Commit e47a9b19 authored by Viswanadha Raju Thotakura's avatar Viswanadha Raju Thotakura Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: lrme: correct fetch engine width size for P010 format" into dev/msm-4.14-camx

parents fffee9bf 443bbcb0
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@ static void cam_lrme_hw_util_fill_fe_reg(struct cam_lrme_hw_io_buffer *io_buf,
	uint32_t reg_val;

	/* 1. config buffer size */
	if (io_buf->io_cfg->format == CAM_FORMAT_PLAIN16_10)
		reg_val = io_buf->io_cfg->planes[0].width * 2;
	else
		reg_val = io_buf->io_cfg->planes[0].width;
	reg_val |= (io_buf->io_cfg->planes[0].height << 16);
	cam_lrme_cdm_write_reg_val_pair(reg_val_pair, num_cmd,