aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/intel/byt-rt5640.c14
-rw-r--r--sound/soc/intel/sst-baytrail-pcm.c7
2 files changed, 3 insertions, 18 deletions
diff --git a/sound/soc/intel/byt-rt5640.c b/sound/soc/intel/byt-rt5640.c
index 9061616f0f45..dbc63d09f424 100644
--- a/sound/soc/intel/byt-rt5640.c
+++ b/sound/soc/intel/byt-rt5640.c
@@ -117,7 +117,7 @@ static struct snd_soc_dai_link byt_rt5640_dais[] = {
117 { 117 {
118 .name = "Baytrail Audio", 118 .name = "Baytrail Audio",
119 .stream_name = "Audio", 119 .stream_name = "Audio",
120 .cpu_dai_name = "Front-cpu-dai", 120 .cpu_dai_name = "baytrail-pcm-audio",
121 .codec_dai_name = "rt5640-aif1", 121 .codec_dai_name = "rt5640-aif1",
122 .codec_name = "i2c-10EC5640:00", 122 .codec_name = "i2c-10EC5640:00",
123 .platform_name = "baytrail-pcm-audio", 123 .platform_name = "baytrail-pcm-audio",
@@ -126,18 +126,6 @@ static struct snd_soc_dai_link byt_rt5640_dais[] = {
126 .init = byt_rt5640_init, 126 .init = byt_rt5640_init,
127 .ops = &byt_rt5640_ops, 127 .ops = &byt_rt5640_ops,
128 }, 128 },
129 {
130 .name = "Baytrail Voice",
131 .stream_name = "Voice",
132 .cpu_dai_name = "Mic1-cpu-dai",
133 .codec_dai_name = "rt5640-aif1",
134 .codec_name = "i2c-10EC5640:00",
135 .platform_name = "baytrail-pcm-audio",
136 .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
137 SND_SOC_DAIFMT_CBS_CFS,
138 .init = NULL,
139 .ops = &byt_rt5640_ops,
140 },
141}; 129};
142 130
143static struct snd_soc_card byt_rt5640_card = { 131static struct snd_soc_card byt_rt5640_card = {
diff --git a/sound/soc/intel/sst-baytrail-pcm.c b/sound/soc/intel/sst-baytrail-pcm.c
index 73bb68119b9e..23a25c0627bd 100644
--- a/sound/soc/intel/sst-baytrail-pcm.c
+++ b/sound/soc/intel/sst-baytrail-pcm.c
@@ -342,7 +342,7 @@ static int sst_byt_pcm_new(struct snd_soc_pcm_runtime *rtd)
342 342
343static struct snd_soc_dai_driver byt_dais[] = { 343static struct snd_soc_dai_driver byt_dais[] = {
344 { 344 {
345 .name = "Front-cpu-dai", 345 .name = "Baytrail PCM",
346 .playback = { 346 .playback = {
347 .stream_name = "System Playback", 347 .stream_name = "System Playback",
348 .channels_min = 2, 348 .channels_min = 2,
@@ -351,9 +351,6 @@ static struct snd_soc_dai_driver byt_dais[] = {
351 .formats = SNDRV_PCM_FMTBIT_S24_3LE | 351 .formats = SNDRV_PCM_FMTBIT_S24_3LE |
352 SNDRV_PCM_FMTBIT_S16_LE, 352 SNDRV_PCM_FMTBIT_S16_LE,
353 }, 353 },
354 },
355 {
356 .name = "Mic1-cpu-dai",
357 .capture = { 354 .capture = {
358 .stream_name = "Analog Capture", 355 .stream_name = "Analog Capture",
359 .channels_min = 2, 356 .channels_min = 2,
@@ -378,7 +375,7 @@ static int sst_byt_pcm_probe(struct snd_soc_platform *platform)
378 priv_data->byt = plat_data->dsp; 375 priv_data->byt = plat_data->dsp;
379 snd_soc_platform_set_drvdata(platform, priv_data); 376 snd_soc_platform_set_drvdata(platform, priv_data);
380 377
381 for (i = 0; i < ARRAY_SIZE(byt_dais); i++) { 378 for (i = 0; i < BYT_PCM_COUNT; i++) {
382 mutex_init(&priv_data->pcm[i].mutex); 379 mutex_init(&priv_data->pcm[i].mutex);
383 INIT_WORK(&priv_data->pcm[i].work, sst_byt_pcm_work); 380 INIT_WORK(&priv_data->pcm[i].work, sst_byt_pcm_work);
384 } 381 }