ASoC: wm8997: Set symmetric samplebits on AIFs
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 22 Jul 2014 10:52:56 +0000 (11:52 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 22 Jul 2014 22:21:33 +0000 (23:21 +0100)
Different playback and capture bits-per-sample
are not supported on the AIFs

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8997.c

index bb9b47b956aa519f1b5becb9c2ccc6a75e84fe13..ab33fe596519d46701735b221a5e486690edbc6c 100644 (file)
@@ -967,6 +967,7 @@ static struct snd_soc_dai_driver wm8997_dai[] = {
                 },
                .ops = &arizona_dai_ops,
                .symmetric_rates = 1,
+               .symmetric_samplebits = 1,
        },
        {
                .name = "wm8997-aif2",
@@ -988,6 +989,7 @@ static struct snd_soc_dai_driver wm8997_dai[] = {
                 },
                .ops = &arizona_dai_ops,
                .symmetric_rates = 1,
+               .symmetric_samplebits = 1,
        },
        {
                .name = "wm8997-slim1",