diff options
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-afe-pcm.c')
| -rw-r--r-- | sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c index c7fa3e663463..bc5d4db94de6 100644 --- a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c +++ b/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | |||
| @@ -604,6 +604,22 @@ static struct snd_soc_dai_ops mt2701_btmrg_ops = { | |||
| 604 | static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { | 604 | static struct snd_soc_dai_driver mt2701_afe_pcm_dais[] = { |
| 605 | /* FE DAIs: memory intefaces to CPU */ | 605 | /* FE DAIs: memory intefaces to CPU */ |
| 606 | { | 606 | { |
| 607 | .name = "PCMO0", | ||
| 608 | .id = MT2701_MEMIF_DL1, | ||
| 609 | .suspend = mtk_afe_dai_suspend, | ||
| 610 | .resume = mtk_afe_dai_resume, | ||
| 611 | .playback = { | ||
| 612 | .stream_name = "DL1", | ||
| 613 | .channels_min = 1, | ||
| 614 | .channels_max = 2, | ||
| 615 | .rates = SNDRV_PCM_RATE_8000_192000, | ||
| 616 | .formats = (SNDRV_PCM_FMTBIT_S16_LE | ||
| 617 | | SNDRV_PCM_FMTBIT_S24_LE | ||
| 618 | | SNDRV_PCM_FMTBIT_S32_LE) | ||
| 619 | }, | ||
| 620 | .ops = &mt2701_single_memif_dai_ops, | ||
| 621 | }, | ||
| 622 | { | ||
| 607 | .name = "PCM_multi", | 623 | .name = "PCM_multi", |
| 608 | .id = MT2701_MEMIF_DLM, | 624 | .id = MT2701_MEMIF_DLM, |
| 609 | .suspend = mtk_afe_dai_suspend, | 625 | .suspend = mtk_afe_dai_suspend, |
