mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: msm8974: Add hostless PCM support
Add PCM hostless device for AFE use cases. Change-Id: Iac4317ae7be89910b40ff29205c9107e8d13750c Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
This commit is contained in:
parent
2303b02890
commit
c1db2a511a
1 changed files with 15 additions and 0 deletions
|
@ -837,6 +837,21 @@ static struct snd_soc_dai_link msm_dai[] = {
|
|||
.ignore_pmdown_time = 1,
|
||||
.be_id = MSM_FRONTEND_DAI_MULTIMEDIA3,
|
||||
},
|
||||
/* Hostless PCM purpose */
|
||||
{
|
||||
.name = "SLIMBUS_0 Hostless",
|
||||
.stream_name = "SLIMBUS_0 Hostless",
|
||||
.cpu_dai_name = "SLIMBUS0_HOSTLESS",
|
||||
.platform_name = "msm-pcm-hostless",
|
||||
.dynamic = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
|
||||
.ignore_suspend = 1,
|
||||
.ignore_pmdown_time = 1, /* dai link has playback support */
|
||||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
},
|
||||
{
|
||||
.name = "MSM8974 Compr",
|
||||
.stream_name = "COMPR",
|
||||
|
|
Loading…
Reference in a new issue