ASoC: wm5102: Set symmetric samplebits on AIFs
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 22 Jul 2014 10:51:57 +0000 (11:51 +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/wm5102.c

index 289b64d..2e96d6e 100644 (file)
@@ -1653,6 +1653,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
                 },
                .ops = &arizona_dai_ops,
                .symmetric_rates = 1,
+               .symmetric_samplebits = 1,
        },
        {
                .name = "wm5102-aif2",
@@ -1674,6 +1675,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
                 },
                .ops = &arizona_dai_ops,
                .symmetric_rates = 1,
+               .symmetric_samplebits = 1,
        },
        {
                .name = "wm5102-aif3",
@@ -1695,6 +1697,7 @@ static struct snd_soc_dai_driver wm5102_dai[] = {
                 },
                .ops = &arizona_dai_ops,
                .symmetric_rates = 1,
+               .symmetric_samplebits = 1,
        },
        {
                .name = "wm5102-slim1",