summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2013-11-14 11:46:11 -0600
committerMark Brown <broonie@linaro.org>2013-11-28 10:20:51 +0000
commit44b2ed54036ecec36ad27adf356f0274a72e5f05 (patch)
treec3b3523615ca5ce28bdd5465de5637ca5b9e1a77 /include/sound
parenta3d36bc2aba531328f7311ef57dec7687283ec57 (diff)
downloadlinux-44b2ed54036ecec36ad27adf356f0274a72e5f05.tar.gz
linux-44b2ed54036ecec36ad27adf356f0274a72e5f05.tar.bz2
linux-44b2ed54036ecec36ad27adf356f0274a72e5f05.zip
ASoC: cs42l52: Make MICA/B mixer dependent on mic config
MICA/B Single-Ended input selection depends on mica/b config so lets make the mixer controls for them only show for selected mic's Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs42l52.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sound/cs42l52.h b/include/sound/cs42l52.h
index daa91f327e4f..bbabf84bdb44 100644
--- a/include/sound/cs42l52.h
+++ b/include/sound/cs42l52.h
@@ -16,11 +16,11 @@ struct cs42l52_platform_data {
/* MICBIAS Level. Check datasheet Pg48 */
unsigned int micbias_lvl;
- /* MICA mode selection 0=Single 1=Differential */
- unsigned int mica_cfg;
+ /* MICA mode selection Differential or Single-ended */
+ bool mica_diff_cfg;
- /* MICB mode selection 0=Single 1=Differential */
- unsigned int micb_cfg;
+ /* MICB mode selection Differential or Single-ended */
+ bool micb_diff_cfg;
/* Charge Pump Freq. Check datasheet Pg73 */
unsigned int chgfreq;