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:
1001354
)
ASoC: da7219: Connect output enable register to DAIOUT
author
Stephen Barber
<
[email protected]
>
Fri, 28 Oct 2016 01:02:27 +0000
(18:02 -0700)
committer
Mark Brown
<
[email protected]
>
Fri, 28 Oct 2016 17:04:26 +0000
(18:04 +0100)
da7219 output (for headset capture) should be set to high-impedance when
not in use, since it will otherwise interfere with output from other
codecs attached to the same DAI.
Signed-off-by: Stephen Barber <
[email protected]
>
Acked-by: Adam Thomson <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/da7219.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/da7219.c
b/sound/soc/codecs/da7219.c
index 1152aa5e7c394208d6e42f04a2c4d44c8b0ea906..cf37936bfe3aaaf6b29cb1f78c9c54f80a2b40b7 100644
(file)
--- a/
sound/soc/codecs/da7219.c
+++ b/
sound/soc/codecs/da7219.c
@@
-880,7
+880,8
@@
static const struct snd_soc_dapm_widget da7219_dapm_widgets[] = {
SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD),
/* DAI */
- SND_SOC_DAPM_AIF_OUT("DAIOUT", "Capture", 0, SND_SOC_NOPM, 0, 0),
+ SND_SOC_DAPM_AIF_OUT("DAIOUT", "Capture", 0, DA7219_DAI_TDM_CTRL,
+ DA7219_DAI_OE_SHIFT, DA7219_NO_INVERT),
SND_SOC_DAPM_AIF_IN("DAIIN", "Playback", 0, SND_SOC_NOPM, 0, 0),
/* Output Muxes */