projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd6bf0
)
ASoC: rt5659: register power bit of LOUT Amp
author
Bard Liao
<bardliao@realtek.com>
Mon, 16 Oct 2017 11:15:13 +0000
(19:15 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 18 Oct 2017 10:40:24 +0000
(11:40 +0100)
There is a power bit for LOUT Amp.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5659.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5659.c
b/sound/soc/codecs/rt5659.c
index 71216db15eab8811775275575b573754b85889b5..999432e98a5abd2866c7935eba309d4256c5f744 100644
(file)
--- a/
sound/soc/codecs/rt5659.c
+++ b/
sound/soc/codecs/rt5659.c
@@
-2744,7
+2744,8
@@
static const struct snd_soc_dapm_widget rt5659_dapm_widgets[] = {
SND_SOC_DAPM_PRE_PMU),
SND_SOC_DAPM_PGA_S("HP Amp", 1, SND_SOC_NOPM, 0, 0, rt5659_hp_event,
SND_SOC_DAPM_PRE_PMD | SND_SOC_DAPM_POST_PMU),
- SND_SOC_DAPM_PGA("LOUT Amp", SND_SOC_NOPM, 0, 0, NULL, 0),
+ SND_SOC_DAPM_PGA_S("LOUT Amp", 1, RT5659_PWR_ANLG_1, RT5659_PWR_LM_BIT,
+ 0, NULL, 0),
SND_SOC_DAPM_SUPPLY("Charge Pump", SND_SOC_NOPM, 0, 0,
rt5659_charge_pump_event, SND_SOC_DAPM_PRE_PMU |