mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "ASoC: add dai link for playback compress3"
This commit is contained in:
commit
bfa84ffadd
3 changed files with 42 additions and 0 deletions
|
|
@ -5049,6 +5049,22 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
|
|||
.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
|
||||
.ops = &msm_cdc_dma_be_ops,
|
||||
},
|
||||
{/* hw:x,39 */
|
||||
.name = MSM_DAILINK_NAME(Compress3),
|
||||
.stream_name = "Compress3",
|
||||
.cpu_dai_name = "MultiMedia10",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
.ignore_suspend = 1,
|
||||
.ignore_pmdown_time = 1,
|
||||
/* this dainlink has playback support */
|
||||
.id = MSM_FRONTEND_DAI_MULTIMEDIA10,
|
||||
},
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_link msm_common_be_dai_links[] = {
|
||||
|
|
|
|||
13
asoc/kona.c
13
asoc/kona.c
|
|
@ -6146,6 +6146,19 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
|
|||
.ops = &msm_cdc_dma_be_ops,
|
||||
SND_SOC_DAILINK_REG(tx_cdcdma5_tx),
|
||||
},
|
||||
{/* hw:x,40 */
|
||||
.name = MSM_DAILINK_NAME(Compress3),
|
||||
.stream_name = "Compress3",
|
||||
.dynamic = 1,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.ignore_suspend = 1,
|
||||
.ignore_pmdown_time = 1,
|
||||
/* this dainlink has playback support */
|
||||
.id = MSM_FRONTEND_DAI_MULTIMEDIA10,
|
||||
SND_SOC_DAILINK_REG(multimedia10),
|
||||
},
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_link msm_common_be_dai_links[] = {
|
||||
|
|
|
|||
|
|
@ -6114,6 +6114,19 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
|
|||
.ignore_suspend = 1,
|
||||
SND_SOC_DAILINK_REG(afepcm_tx1),
|
||||
},
|
||||
{/* hw:x,43 */
|
||||
.name = MSM_DAILINK_NAME(Compress3),
|
||||
.stream_name = "Compress3",
|
||||
.dynamic = 1,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.ignore_suspend = 1,
|
||||
.ignore_pmdown_time = 1,
|
||||
/* this dainlink has playback support */
|
||||
.id = MSM_FRONTEND_DAI_MULTIMEDIA10,
|
||||
SND_SOC_DAILINK_REG(multimedia10),
|
||||
},
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_link msm_common_be_dai_links[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue