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

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

msm: camera: isp: Return round rate to user space for vfe clk



After vfe clk rate is set, return round rate to user space so
that user space can use actual vfe clk rate for calculation.

Change-Id: I83d71fd7d69f32ab887ec7fe7ad3465926b8ae05
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
parent 452b73ce
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -543,6 +543,13 @@ int msm_isp_cfg_pix(struct vfe_device *vfe_dev,
		return rc;
	}

	/*
	 * Fill pixel_clock into input_pix_clk so that user space
	 * can use rounded clk rate
	 */
	input_cfg->input_pix_clk =
		vfe_dev->axi_data.src_info[VFE_PIX_0].pixel_clock;

	ISP_DBG("%s: input mux is %d CAMIF %d io_format 0x%x\n", __func__,
		input_cfg->d.pix_cfg.input_mux, CAMIF,
		input_cfg->d.pix_cfg.input_format);