aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/fsl/mpc5200_psc_ac97.c5
-rw-r--r--sound/soc/fsl/mpc5200_psc_i2s.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c
index 9a094535fb26..a313c0ae36db 100644
--- a/sound/soc/fsl/mpc5200_psc_ac97.c
+++ b/sound/soc/fsl/mpc5200_psc_ac97.c
@@ -237,15 +237,18 @@ static const struct snd_soc_dai_ops psc_ac97_digital_ops = {
237 237
238static struct snd_soc_dai_driver psc_ac97_dai[] = { 238static struct snd_soc_dai_driver psc_ac97_dai[] = {
239{ 239{
240 .name = "mpc5200-psc-ac97.0",
240 .ac97_control = 1, 241 .ac97_control = 1,
241 .probe = psc_ac97_probe, 242 .probe = psc_ac97_probe,
242 .playback = { 243 .playback = {
244 .stream_name = "AC97 Playback",
243 .channels_min = 1, 245 .channels_min = 1,
244 .channels_max = 6, 246 .channels_max = 6,
245 .rates = SNDRV_PCM_RATE_8000_48000, 247 .rates = SNDRV_PCM_RATE_8000_48000,
246 .formats = SNDRV_PCM_FMTBIT_S32_BE, 248 .formats = SNDRV_PCM_FMTBIT_S32_BE,
247 }, 249 },
248 .capture = { 250 .capture = {
251 .stream_name = "AC97 Capture",
249 .channels_min = 1, 252 .channels_min = 1,
250 .channels_max = 2, 253 .channels_max = 2,
251 .rates = SNDRV_PCM_RATE_8000_48000, 254 .rates = SNDRV_PCM_RATE_8000_48000,
@@ -254,8 +257,10 @@ static struct snd_soc_dai_driver psc_ac97_dai[] = {
254 .ops = &psc_ac97_analog_ops, 257 .ops = &psc_ac97_analog_ops,
255}, 258},
256{ 259{
260 .name = "mpc5200-psc-ac97.1",
257 .ac97_control = 1, 261 .ac97_control = 1,
258 .playback = { 262 .playback = {
263 .stream_name = "AC97 SPDIF",
259 .channels_min = 1, 264 .channels_min = 1,
260 .channels_max = 2, 265 .channels_max = 2,
261 .rates = SNDRV_PCM_RATE_32000 | \ 266 .rates = SNDRV_PCM_RATE_32000 | \
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c
index c0b7a23ebbfd..ba1f0a66358f 100644
--- a/sound/soc/fsl/mpc5200_psc_i2s.c
+++ b/sound/soc/fsl/mpc5200_psc_i2s.c
@@ -130,13 +130,16 @@ static const struct snd_soc_dai_ops psc_i2s_dai_ops = {
130}; 130};
131 131
132static struct snd_soc_dai_driver psc_i2s_dai[] = {{ 132static struct snd_soc_dai_driver psc_i2s_dai[] = {{
133 .name = "mpc5200-psc-i2s.0",
133 .playback = { 134 .playback = {
135 .stream_name = "I2S Playback",
134 .channels_min = 2, 136 .channels_min = 2,
135 .channels_max = 2, 137 .channels_max = 2,
136 .rates = PSC_I2S_RATES, 138 .rates = PSC_I2S_RATES,
137 .formats = PSC_I2S_FORMATS, 139 .formats = PSC_I2S_FORMATS,
138 }, 140 },
139 .capture = { 141 .capture = {
142 .stream_name = "I2S Capture",
140 .channels_min = 2, 143 .channels_min = 2,
141 .channels_max = 2, 144 .channels_max = 2,
142 .rates = PSC_I2S_RATES, 145 .rates = PSC_I2S_RATES,