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

Commit 3d29256a authored by Junzhe Zou's avatar Junzhe Zou
Browse files

msm: camera: enable ubwc with bus client



Enable ubwc with bus client.

CRs-Fixed: 2076110
Change-Id: I84f4c66835aa24a34a3186a0bfdfbd9936b45032
Signed-off-by: default avatarJunzhe Zou <jnzhezou@codeaurora.org>
parent cdd957e9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -845,6 +845,12 @@ static int cam_vfe_bus_start_wm(struct cam_isp_resource_node *wm_res)
		}
	}

	/* enable ubwc if needed*/
	if (rsrc_data->en_ubwc) {
		cam_io_w_mb(0x1, common_data->mem_base +
			rsrc_data->hw_regs->ubwc_regs->mode_cfg);
	}

	/* Enable WM */
	cam_io_w_mb(rsrc_data->en_cfg, common_data->mem_base +
		rsrc_data->hw_regs->cfg);