OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b62fa9
)
ASoC: dapm: select sleep_state when initializing PINCTRL widget
author
Tzung-Bi Shih
<tzungbi@google.com>
Wed, 19 Feb 2020 09:38:38 +0000
(17:38 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 19 Feb 2020 16:02:43 +0000
(16:02 +0000)
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>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index
cc17a37
..
69eff23
100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-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);