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

Commit 78578604 authored by Alex Wong's avatar Alex Wong Committed by Alex Wong
Browse files

msm: camera: fix csiphy number select



Set the PHY_NUM_SEL on bit 20:21 properly.

Change-Id: I0f462cd4469f2ca1fd295c0e656b82856f3de6c9
Signed-off-by: default avatarAlex Wong <waiw@codeaurora.org>
parent aa08a35e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1033,7 +1033,7 @@ static int cam_ife_csid_enable_csi2(
	val = (csid_hw->csi2_rx_cfg.lane_num - 1)  |
		(csid_hw->csi2_rx_cfg.lane_cfg << 4) |
		(csid_hw->csi2_rx_cfg.lane_type << 24);
	val |= csid_hw->csi2_rx_cfg.phy_sel & 0x3;
	val |= (csid_hw->csi2_rx_cfg.phy_sel & 0x3) << 20;
	cam_io_w_mb(val, soc_info->reg_map[0].mem_base +
		csid_reg->csi2_reg->csid_csi2_rx_cfg0_addr);