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

Commit 8a1f4f23 authored by Sreesudhan Ramakrish Ramkumar's avatar Sreesudhan Ramakrish Ramkumar Committed by Matt Wagantall
Browse files

msm: isp: Populate axi data width even in testgen mode



Camif width from camif config needs to be updated even in
case of TESTGEN mode otherwise we request AB/IB bandwidth
as zero.

Change-Id: I818c27e16132885ac449aa757e124d45b3662a6a
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent 0b9e014a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -531,7 +531,8 @@ int msm_isp_cfg_pix(struct vfe_device *vfe_dev,
		input_cfg->d.pix_cfg.input_mux, CAMIF,
		input_cfg->d.pix_cfg.input_format);

	if (input_cfg->d.pix_cfg.input_mux == CAMIF) {
	if (input_cfg->d.pix_cfg.input_mux == CAMIF ||
		input_cfg->d.pix_cfg.input_mux == TESTGEN) {
		vfe_dev->axi_data.src_info[VFE_PIX_0].width =
			input_cfg->d.pix_cfg.camif_cfg.pixels_per_line;
		if (input_cfg->d.pix_cfg.camif_cfg.subsample_cfg.