summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8997.c
diff options
context:
space:
mode:
authorJeremy McDermond <nh6z@nh6z.net>2016-05-11 22:09:53 +0300
committerMark Brown <broonie@kernel.org>2016-05-13 13:54:51 +0300
commit2213fc350841e99598e52232b56add7b873529a0 (patch)
tree1e6d29f9d180012381ef2c358a713f9890542155 /sound/soc/codecs/wm8997.c
parent13a06ed55dba0ae3f983ef3c4ea70fc42066e1b5 (diff)
downloadlinux-2213fc350841e99598e52232b56add7b873529a0.tar.xz
ASoC: tlv320aic32x4: Properly implement the positive and negative pins into the mixers
The TLV320AIC32x4 has a very flexible mixer on the inputs to the ADCs. Each mixer has an available set of available pins that can be connected to the ADC positive and negative pins via three different resistor values. This allows for configuration of differential inputs as well as doing level manipulation between sources going into the mixers. The current code only provides positive pins and I implemented the resistors in an earlier patch. It turns out that it appears to more accurately model what's happening to implement each of the pins as a MUX rather than on/off switches and a mixer. This way each pin can be set to its desired resistor value. Since there are no switches, the mixer is no longer necessary in the DAPM path. I set the DAPM paths such that the "off" position of any of the MUXes turns the path off. This should allow for any input confiuration available on the codec. Signed-off-by: Jeremy McDermond <nh6z@nh6z.net> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8997.c')
0 files changed, 0 insertions, 0 deletions