Pārlūkot izejas kodu

Merge "asoc: wcd937x: Clear Buck disable flag in PMU even if already up"

Linux Build Service Account 6 gadi atpakaļ
vecāks
revīzija
62c4ce4766
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      asoc/codecs/wcd937x/wcd937x.c

+ 1 - 0
asoc/codecs/wcd937x/wcd937x.c

@@ -1707,6 +1707,7 @@ static int wcd937x_codec_enable_vdd_buck(struct snd_soc_dapm_widget *w,
 			dev_dbg(component->dev,
 				"%s: buck already in enabled state\n",
 				__func__);
+			clear_bit(ALLOW_BUCK_DISABLE, &wcd937x->status_mask);
 			return 0;
 		}
 		ret = msm_cdc_enable_ondemand_supply(wcd937x->dev,