summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/adau1373.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-09-28 09:14:56 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-28 10:57:58 +0200
commit458f6f692105d4c08ef9e6b777022a829b1494b5 (patch)
treef5dec39a09d4f48aea9f5de8664fc45bdc3e783c /sound/soc/codecs/adau1373.c
parentASoC: Remove unused "control_data" field of struct wm8904_priv (diff)
downloadlinux-458f6f692105d4c08ef9e6b777022a829b1494b5.tar.xz
linux-458f6f692105d4c08ef9e6b777022a829b1494b5.zip
ASoC: Fix setting adau1373_dai->master for SND_SOC_DAIFMT_CBS_CFS
In the case of SND_SOC_DAIFMT_CBS_CFS, adau1373_dai->master should be false. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/adau1373.c')
-rw-r--r--sound/soc/codecs/adau1373.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c
index 2aa40c3731d0..1ccf8dd47576 100644
--- a/sound/soc/codecs/adau1373.c
+++ b/sound/soc/codecs/adau1373.c
@@ -974,7 +974,7 @@ static int adau1373_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
break;
case SND_SOC_DAIFMT_CBS_CFS:
ctrl = 0;
- adau1373_dai->master = true;
+ adau1373_dai->master = false;
break;
default:
return -EINVAL;