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

Commit dbff98a8 authored by Aviral Gupta's avatar Aviral Gupta
Browse files

ASOC: mpq8092: Add the low latency support



Add the DAI link for the low latency PCM playback
in the machine driver. This will expose the low latency functionality
to the userspace.

Change-Id: I17fdf9c5d5696526cd1e7d3c157c53bd201ef73f
Signed-off-by: default avatarAviral Gupta <aviralg@codeaurora.org>
parent a36eecd5
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2014, 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
@@ -1128,6 +1128,22 @@ static struct snd_soc_dai_link mpq8092_common_dai_links[] = {
		 /* this dainlink has playback support */
		.be_id = MSM_FRONTEND_DAI_MULTIMEDIA8,
	},
	{
		.name = "MSM8092 LowLatency",
		.stream_name = "MultiMedia5",
		.cpu_dai_name   = "MultiMedia5",
		.platform_name  = "msm-pcm-dsp.1",
		.dynamic = 1,
		.codec_dai_name = "snd-soc-dummy-dai",
		.codec_name = "snd-soc-dummy",
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
				SND_SOC_DPCM_TRIGGER_POST},
		.ignore_suspend = 1,
		/* this dainlink has playback support */
		.ignore_pmdown_time = 1,
		.be_id = MSM_FRONTEND_DAI_MULTIMEDIA5,
	},

	/* Hostless PCM purpose */
	{
		.name = "MSM AFE-PCM RX",