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

Commit efa38e77 authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

ASoC: Add sec mi2s frontend support for fm on yupik



As yupik has fm on sec mi2s, add corresponding dai for
sec mi2s.

Change-Id: I898126136499786f0bb76394269016b501114a57
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 74c97bf0
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/clk.h>
@@ -6384,6 +6384,18 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
		.id = MSM_FRONTEND_DAI_MULTIMEDIA10,
		SND_SOC_DAILINK_REG(multimedia10),
	},
	{/* hw:x,44 */
		.name = "Secondary MI2S_TX Hostless",
		.stream_name = "Secondary MI2S_TX Hostless Capture",
		.dynamic = 1,
		.dpcm_capture = 1,
		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
			SND_SOC_DPCM_TRIGGER_POST},
		.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
		.ignore_suspend = 1,
		.ignore_pmdown_time = 1,
		SND_SOC_DAILINK_REG(sec_mi2s_tx_hostless),
	},
};

static struct snd_soc_dai_link msm_common_be_dai_links[] = {