diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-05-16 09:55:23 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-16 14:59:25 -0400 |
commit | 541423dde415e9cecdb0bf17657b3bd7e1666dd2 (patch) | |
tree | 4fa1280a5afb4024f71e719a8b66208ebdbf6954 /sound/soc/codecs/max98090.h | |
parent | 70f29d388915723ce03eee74a649f170e4c9f1e0 (diff) |
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.h | 1 |
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 { | |||
1540 | unsigned int pa2en; | 1540 | unsigned int pa2en; |
1541 | unsigned int extmic_mux; | 1541 | unsigned int extmic_mux; |
1542 | unsigned int sidetone; | 1542 | unsigned int sidetone; |
1543 | bool master; | ||
1543 | }; | 1544 | }; |
1544 | 1545 | ||
1545 | int max98090_mic_detect(struct snd_soc_codec *codec, | 1546 | int max98090_mic_detect(struct snd_soc_codec *codec, |