summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98090.h
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2014-05-16 15:55:23 +0200
committerMark Brown <broonie@linaro.org>2014-05-16 20:59:25 +0200
commit541423dde415e9cecdb0bf17657b3bd7e1666dd2 (patch)
tree4fa1280a5afb4024f71e719a8b66208ebdbf6954 /sound/soc/codecs/max98090.h
parentASoC: max98090: Add ACPI probing support (diff)
downloadlinux-541423dde415e9cecdb0bf17657b3bd7e1666dd2.tar.xz
linux-541423dde415e9cecdb0bf17657b3bd7e1666dd2.zip
ASoC: max98090: Make sure we configure BCLK in one place
BCL is being configured in two places producing a warning message. Make sure we only configure BCLK once and when we are master. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/max98090.h')
-rw-r--r--sound/soc/codecs/max98090.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98090.h b/sound/soc/codecs/max98090.h
index 1a4e2334a7b2..5a3c8d0613cb 100644
--- a/sound/soc/codecs/max98090.h
+++ b/sound/soc/codecs/max98090.h
@@ -1540,6 +1540,7 @@ struct max98090_priv {
unsigned int pa2en;
unsigned int extmic_mux;
unsigned int sidetone;
+ bool master;
};
int max98090_mic_detect(struct snd_soc_codec *codec,