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:
fac2f3e
)
ASoC: twl6040: Change event ordering for Earphone driver
author
Peter Ujfalusi
<
[email protected]
>
Thu, 13 Oct 2011 12:05:43 +0000
(15:05 +0300)
committer
Mark Brown
<
[email protected]
>
Thu, 13 Oct 2011 16:19:40 +0000
(17:19 +0100)
It is better to switch HS Power Mode (if it was in low power mode) before
we enable the Earpiece driver. The switched off EP driver can filter out
noise coming from the Low Power to High Performance transition on the
HSL DAC.
Signed-off-by: Peter Ujfalusi <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/twl6040.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/twl6040.c
b/sound/soc/codecs/twl6040.c
index 8f033f0a42f5826d37cbc3d2960d51f5dc2c6757..eadece8f0164da505757cdaf96a642d1163e625b 100644
(file)
--- a/
sound/soc/codecs/twl6040.c
+++ b/
sound/soc/codecs/twl6040.c
@@
-1164,7
+1164,7
@@
static const struct snd_soc_dapm_widget twl6040_dapm_widgets[] = {
SND_SOC_DAPM_OUT_DRV_E("Earphone Driver",
TWL6040_REG_EARCTL, 0, 0, NULL, 0,
twl6040_power_mode_event,
- SND_SOC_DAPM_P
OST
_PMU | SND_SOC_DAPM_POST_PMD),
+ SND_SOC_DAPM_P
RE
_PMU | SND_SOC_DAPM_POST_PMD),
SND_SOC_DAPM_OUT_DRV("Vibra Left Driver",
TWL6040_REG_VIBCTLL, 0, 0, NULL, 0),
SND_SOC_DAPM_OUT_DRV("Vibra Right Driver",