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

Commit 8eba6ff0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: Add VoIP2 FE DAI"

parents 9184e704 3a29f9b7
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -829,6 +829,33 @@ static struct snd_soc_dai_driver msm_fe_dais[] = {
		.ops = &msm_fe_dai_ops,
		.name = "QCHAT",
	},
	{
		.playback = {
			.stream_name = "VoIP2 Playback",
			.aif_name = "VOIP2_DL",
			.rates = SNDRV_PCM_RATE_8000_48000,
			.formats = SNDRV_PCM_FMTBIT_S16_LE |
				   SNDRV_PCM_FMTBIT_SPECIAL,
			.channels_min = 1,
			.channels_max = 2,
			.rate_min = 8000,
			.rate_max = 48000,
		},
		.capture = {
			.stream_name = "VoIP2 Capture",
			.aif_name = "VOIP2_UL",
			.rates = SNDRV_PCM_RATE_8000_48000,
			.formats = SNDRV_PCM_FMTBIT_S16_LE |
				   SNDRV_PCM_FMTBIT_SPECIAL,
			.channels_min = 1,
			.channels_max = 2,
			.rate_min = 8000,
			.rate_max = 48000,
		},
		.ops = &msm_fe_dai_ops,
		.name = "VoIP2",
		.probe = fe_dai_probe,
	},
};

static int msm_fe_dai_dev_probe(struct platform_device *pdev)