mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
ASoC: dapm: select sleep_state when initializing PINCTRL widget
Selects sleep_state when initializing PINCTRL widget. Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20200219170951.1.I61f6559a37a6a40a6fde0737cb16100fb17c0480@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
6b62fa95b5
commit
ec06dc15c3
@ -3628,6 +3628,9 @@ snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
|
||||
ret = PTR_ERR(w->pinctrl);
|
||||
goto request_failed;
|
||||
}
|
||||
|
||||
/* set to sleep_state when initializing */
|
||||
dapm_pinctrl_event(w, NULL, SND_SOC_DAPM_POST_PMD);
|
||||
break;
|
||||
case snd_soc_dapm_clock_supply:
|
||||
w->clk = devm_clk_get(dapm->dev, w->name);
|
||||
|
Loading…
Reference in New Issue
Block a user