diff --git a/sound/soc/msm/msm8939-slimbus.c b/sound/soc/msm/msm8939-slimbus.c index 775d98ab2447..96ed83221299 100644 --- a/sound/soc/msm/msm8939-slimbus.c +++ b/sound/soc/msm/msm8939-slimbus.c @@ -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 @@ -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",