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

Commit 056e4000 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "asoc: codecs: sdm660_cdc: Fix LPASS register access during PDR"

parents 33d245bc 83080a8c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -137,11 +137,12 @@ static int msm_digcdc_clock_control(bool flag)
				       __func__);
				/*
				 * Avoid access to lpass register
				 * as clock enable failed during SSR.
				 * as clock enable failed during SSR/PDR.
				 */
				if (ret == -ENODEV)
				msm_dig_cdc->regmap->cache_only = true;
				return ret;
			} else {
				msm_dig_cdc->regmap->cache_only = false;
			}
			pr_debug("enabled digital codec core clk\n");
			atomic_set(&pdata->int_mclk0_enabled, true);