asoc: codecs: Enable LPM for power supplies
Enable Low Power Mode for the power supplies while going to suspend mode on wsa883x and wcd9378. Change-Id: I133c1b791bcd8b53cf79650d7347d5889da29491 Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
This commit is contained in:
@@ -4652,7 +4652,10 @@ static int wcd9378_suspend(struct device *dev)
|
||||
}
|
||||
clear_bit(ALLOW_BUCK_DISABLE, &wcd9378->status_mask);
|
||||
}
|
||||
if (wcd9378->dapm_bias_off) {
|
||||
if (wcd9378->dapm_bias_off ||
|
||||
(wcd9378->component &&
|
||||
(snd_soc_component_get_bias_level(wcd9378->component) ==
|
||||
SND_SOC_BIAS_OFF))) {
|
||||
msm_cdc_set_supplies_lpm_mode(wcd9378->dev,
|
||||
wcd9378->supplies,
|
||||
pdata->regulator,
|
||||
|
Reference in New Issue
Block a user