Skip to content

Commit

Permalink
Revert "Revert "ASoC: msm: Add QCHAT as Front-end DAI link for msm893…
Browse files Browse the repository at this point in the history
…9 external codec HW""

This reverts commit 00fdece.
Needed for lux speakerphone with new blobs.
  • Loading branch information
sultanqasim committed Jan 14, 2018
1 parent 44f784a commit d0be451
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion sound/soc/msm/msm8939-slimbus.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down Expand Up @@ -2746,6 +2746,22 @@ static struct snd_soc_dai_link msm8x16_dai[] = {
.codec_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
},
{ /* hw:x, 28 */
.name = "QCHAT",
.stream_name = "QCHAT",
.cpu_dai_name = "QCHAT",
.platform_name = "msm-pcm-voice",
.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,
/* this dainlink has playback support */
.ignore_pmdown_time = 1,
.codec_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
.be_id = MSM_FRONTEND_DAI_QCHAT,
},
{
.name = LPASS_BE_QUAT_MI2S_RX,
.stream_name = "Quaternary MI2S Playback",
Expand Down

0 comments on commit d0be451

Please sign in to comment.