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

Commit 3d4d93ea authored by Satya Krishna Pindiproli's avatar Satya Krishna Pindiproli Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: fix hfp client call failure



HFP client call fails due to absence of dpcm playback flag
in the backend DAI link. Add the flag to fix the issue and
change the name of the DAI link to avoid confusion that it
supports only capture.

Change-Id: I0bd83eaba7fa2aa8ed567acc6344876163353f20
Signed-off-by: default avatarSatya Krishna Pindiproli <satyak@codeaurora.org>
parent bda8711c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -713,12 +713,13 @@ static struct snd_soc_dai_link msm8952_common_fe_dai[] = {
		.codec_name = "snd-soc-dummy",
	},
	{/* hw:x,18 */
		.name = "MSM8916 HFP TX",
		.name = "MSM8916 HFP",
		.stream_name = "MultiMedia6",
		.cpu_dai_name = "MultiMedia6",
		.platform_name  = "msm-pcm-loopback",
		.dynamic = 1,
		.dpcm_capture = 1,
		.dpcm_playback = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
+2 −1
Original line number Diff line number Diff line
@@ -1839,11 +1839,12 @@ static struct snd_soc_dai_link msm8952_dai[] = {
		.codec_name = "snd-soc-dummy",
	},
	{/* hw:x,18 */
		.name = "MSM8916 HFP TX",
		.name = "MSM8916 HFP",
		.stream_name = "MultiMedia6",
		.cpu_dai_name = "MultiMedia6",
		.platform_name  = "msm-pcm-loopback",
		.dynamic = 1,
		.dpcm_playback = 1,
		.dpcm_capture = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",