Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8896b58a authored by dojha's avatar dojha
Browse files

ASoC: msm: modify hostless dai link according to the dai driver



The hostless dai link has capture capability set. It does not
match the widget configuration in driver, results in page fault
for capture usecase. So remove the capture widget from hostless
dai links.

CRs-Fixed: 1010892
Change-Id: Icecae84fe4ac45ba2f3765e9233d188a835e3858
Signed-off-by: default avatardojha <dojha@codeaurora.org>
parent 60d40c19
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -871,7 +871,6 @@ static struct snd_soc_dai_link msm8952_common_fe_dai[] = {
		.cpu_dai_name = "QUAT_MI2S_RX_HOSTLESS",
		.platform_name = "msm-pcm-hostless",
		.dynamic = 1,
		.dpcm_capture = 1,
		.dpcm_playback = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			SND_SOC_DPCM_TRIGGER_POST},
+0 −2
Original line number Diff line number Diff line
@@ -1707,7 +1707,6 @@ static struct snd_soc_dai_link msm8952_dai[] = {
		.platform_name	= "msm-pcm-hostless",
		.dynamic = 1,
		.dpcm_playback = 1,
		.dpcm_capture = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			SND_SOC_DPCM_TRIGGER_POST},
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
@@ -2033,7 +2032,6 @@ static struct snd_soc_dai_link msm8952_dai[] = {
		.platform_name = "msm-pcm-hostless",
		.dynamic = 1,
		.dpcm_playback = 1,
		.dpcm_capture = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			SND_SOC_DPCM_TRIGGER_POST},
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,