video: driver: reset video_cc_mvs0_clk_src clock_rate

Reset video_cc_mvs0_clk_src value to resolve MMRM high video
clock projection issue.

Change-Id: Ieb937dfdc7d48e1a95a0052a32189d00eeac70cf
Signed-off-by: Chinmay Sawarkar <quic_chinmays@quicinc.com>
This commit is contained in:
Chinmay Sawarkar
2022-02-02 13:06:35 -08:00
parent 000a10db56
commit 784cc63c21

View File

@@ -618,6 +618,14 @@ static int __power_off_iris3(struct msm_vidc_core *core)
if (!core->power_enabled)
return 0;
/**
* Reset video_cc_mvs0_clk_src value to resolve MMRM high video
* clock projection issue.
*/
rc = __set_clocks(core, 0);
if (rc)
d_vpr_e("%s: resetting clocks failed\n", __func__);
if (__power_off_iris3_hardware(core))
d_vpr_e("%s: failed to power off hardware\n", __func__);