ASoC: 24 bits are significant on wm_hubs DAIs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 17 Jan 2012 11:50:26 +0000 (11:50 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jan 2012 13:58:30 +0000 (13:58 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8993.c
sound/soc/codecs/wm8994.c

index 5502543b8a26300de9e7c2343c1db744509d0f98..dd687c3a84f979d893cecac8f9f3ef3ac62d1224 100644 (file)
@@ -1547,6 +1547,7 @@ static struct snd_soc_dai_driver wm8993_dai = {
                .channels_max = 2,
                .rates = WM8993_RATES,
                .formats = WM8993_FORMATS,
+               .sig_bits = 24,
        },
        .capture = {
                 .stream_name = "Capture",
@@ -1554,6 +1555,7 @@ static struct snd_soc_dai_driver wm8993_dai = {
                 .channels_max = 2,
                 .rates = WM8993_RATES,
                 .formats = WM8993_FORMATS,
+                .sig_bits = 24,
         },
        .ops = &wm8993_ops,
        .symmetric_rates = 1,
index 93d27b6602571c3f600f9272defe0b05f12a8c3b..b047bfada709bf0da0597cd81ee57d122c652f6c 100644 (file)
@@ -2645,6 +2645,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
                        .channels_max = 2,
                        .rates = WM8994_RATES,
                        .formats = WM8994_FORMATS,
+                       .sig_bits = 24,
                },
                .capture = {
                        .stream_name = "AIF1 Capture",
@@ -2652,6 +2653,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
                        .channels_max = 2,
                        .rates = WM8994_RATES,
                        .formats = WM8994_FORMATS,
+                       .sig_bits = 24,
                 },
                .ops = &wm8994_aif1_dai_ops,
        },
@@ -2664,6 +2666,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
                        .channels_max = 2,
                        .rates = WM8994_RATES,
                        .formats = WM8994_FORMATS,
+                       .sig_bits = 24,
                },
                .capture = {
                        .stream_name = "AIF2 Capture",
@@ -2671,6 +2674,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
                        .channels_max = 2,
                        .rates = WM8994_RATES,
                        .formats = WM8994_FORMATS,
+                       .sig_bits = 24,
                },
                .probe = wm8994_aif2_probe,
                .ops = &wm8994_aif2_dai_ops,
@@ -2684,6 +2688,7 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
                        .channels_max = 2,
                        .rates = WM8994_RATES,
                        .formats = WM8994_FORMATS,
+                       .sig_bits = 24,
                },
                .capture = {
                        .stream_name = "AIF3 Capture",
@@ -2691,7 +2696,8 @@ static struct snd_soc_dai_driver wm8994_dai[] = {
                        .channels_max = 2,
                        .rates = WM8994_RATES,
                        .formats = WM8994_FORMATS,
-               },
+                       .sig_bits = 24,
+                },
                .ops = &wm8994_aif3_dai_ops,
        }
 };