mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
asoc: udpate qcs405 compress playback dai ops
Currently only Compress2 stream is using hw params as async ops and hence the startup latency and setup sequence varies for this usecase as compared to other compress playback streams. Update qcs405 compress playback dai ops to mark hw params as async for all compress playback FE dai entries, so that all compressed playback streams have uniform latency and setup sequence. Change-Id: Iac965b0ca1c059c49b9b0a985f70df7d382f7446 Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
This commit is contained in:
parent
c63ec8cd8f
commit
de1ce572ce
1 changed files with 6 additions and 0 deletions
|
|
@ -6390,6 +6390,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
|
|||
.cpu_dai_name = "MultiMedia7",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.async_ops = ASYNC_DPCM_SND_SOC_HW_PARAMS,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
|
|
@ -6597,6 +6598,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
|
|||
.cpu_dai_name = "MultiMedia11",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.async_ops = ASYNC_DPCM_SND_SOC_HW_PARAMS,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
|
|
@ -6613,6 +6615,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
|
|||
.cpu_dai_name = "MultiMedia12",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.async_ops = ASYNC_DPCM_SND_SOC_HW_PARAMS,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
|
|
@ -6629,6 +6632,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
|
|||
.cpu_dai_name = "MultiMedia13",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.async_ops = ASYNC_DPCM_SND_SOC_HW_PARAMS,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
|
|
@ -6645,6 +6649,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
|
|||
.cpu_dai_name = "MultiMedia14",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.async_ops = ASYNC_DPCM_SND_SOC_HW_PARAMS,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
|
|
@ -6661,6 +6666,7 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
|
|||
.cpu_dai_name = "MultiMedia15",
|
||||
.platform_name = "msm-compress-dsp",
|
||||
.dynamic = 1,
|
||||
.async_ops = ASYNC_DPCM_SND_SOC_HW_PARAMS,
|
||||
.dpcm_playback = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
|
|
|
|||
Loading…
Reference in a new issue