Diff
Modified: trunk/sound/soc/codecs/ac97.c (7199 => 7200)
--- trunk/sound/soc/codecs/ac97.c 2009-08-18 16:59:00 UTC (rev 7199)
+++ trunk/sound/soc/codecs/ac97.c 2009-08-19 01:43:36 UTC (rev 7200)
@@ -53,13 +53,13 @@
.channels_min = 1,
.channels_max = 2,
.rates = STD_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.capture = {
.stream_name = "AC97 Capture",
.channels_min = 1,
.channels_max = 2,
.rates = STD_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.ops = &ac97_dai_ops,
};
EXPORT_SYMBOL_GPL(ac97_dai);
Modified: trunk/sound/soc/codecs/ad1980.c (7199 => 7200)
--- trunk/sound/soc/codecs/ad1980.c 2009-08-18 16:59:00 UTC (rev 7199)
+++ trunk/sound/soc/codecs/ad1980.c 2009-08-19 01:43:36 UTC (rev 7200)
@@ -137,13 +137,13 @@
.channels_min = 2,
.channels_max = 6,
.rates = SNDRV_PCM_RATE_48000,
- .formats = SNDRV_PCM_FMTBIT_S16_LE, },
+ .formats = SND_SOC_STD_AC97_FMTS, },
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_48000,
- .formats = SNDRV_PCM_FMTBIT_S16_LE, },
+ .formats = SND_SOC_STD_AC97_FMTS, },
};
EXPORT_SYMBOL_GPL(ad1980_dai);
Modified: trunk/sound/soc/codecs/wm9705.c (7199 => 7200)
--- trunk/sound/soc/codecs/wm9705.c 2009-08-18 16:59:00 UTC (rev 7199)
+++ trunk/sound/soc/codecs/wm9705.c 2009-08-19 01:43:36 UTC (rev 7200)
@@ -282,14 +282,14 @@
.channels_min = 1,
.channels_max = 2,
.rates = WM9705_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,
+ .formats = SND_SOC_STD_AC97_FMTS,
},
.capture = {
.stream_name = "HiFi Capture",
.channels_min = 1,
.channels_max = 2,
.rates = WM9705_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,
+ .formats = SND_SOC_STD_AC97_FMTS,
},
.ops = &wm9705_dai_ops,
},
Modified: trunk/sound/soc/codecs/wm9712.c (7199 => 7200)
--- trunk/sound/soc/codecs/wm9712.c 2009-08-18 16:59:00 UTC (rev 7199)
+++ trunk/sound/soc/codecs/wm9712.c 2009-08-19 01:43:36 UTC (rev 7200)
@@ -534,13 +534,13 @@
.channels_min = 1,
.channels_max = 2,
.rates = WM9712_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.capture = {
.stream_name = "HiFi Capture",
.channels_min = 1,
.channels_max = 2,
.rates = WM9712_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.ops = &wm9712_dai_ops_hifi,
},
{
@@ -550,7 +550,7 @@
.channels_min = 1,
.channels_max = 1,
.rates = WM9712_AC97_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.ops = &wm9712_dai_ops_aux,
}
};
Modified: trunk/sound/soc/codecs/wm9713.c (7199 => 7200)
--- trunk/sound/soc/codecs/wm9713.c 2009-08-18 16:59:00 UTC (rev 7199)
+++ trunk/sound/soc/codecs/wm9713.c 2009-08-19 01:43:36 UTC (rev 7200)
@@ -1035,13 +1035,13 @@
.channels_min = 1,
.channels_max = 2,
.rates = WM9713_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.capture = {
.stream_name = "HiFi Capture",
.channels_min = 1,
.channels_max = 2,
.rates = WM9713_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.ops = &wm9713_dai_ops_hifi,
},
{
@@ -1051,7 +1051,7 @@
.channels_min = 1,
.channels_max = 1,
.rates = WM9713_RATES,
- .formats = SNDRV_PCM_FMTBIT_S16_LE,},
+ .formats = SND_SOC_STD_AC97_FMTS,},
.ops = &wm9713_dai_ops_aux,
},
{