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

Commit 1a741900 authored by Jeyaprakash Soundrapandian's avatar Jeyaprakash Soundrapandian Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: enable ubwc with bus client" into dev/msm-4.9-camx

parents 0fbb1d92 3d29256a
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);