ASoC: Fix setting adau1373_dai->master for SND_SOC_DAIFMT_CBS_CFS
authorAxel Lin <axel.lin@gmail.com>
Wed, 28 Sep 2011 07:14:56 +0000 (15:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 08:57:58 +0000 (09:57 +0100)
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>
sound/soc/codecs/adau1373.c

index 2aa40c3..1ccf8dd 100644 (file)
@@ -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;