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

Commit 8d9453e4 authored by Asish Bhattacharya's avatar Asish Bhattacharya
Browse files

ASoC: msm: Add dai link for secondary MI2S for SD1



Secondary MI2S needs to be split to SD0/SD1 dai links for
seperate audio tracks. Add dai link for SD1.

Change-Id: I76868b3adf5cea1c7fb2a907906645138f5cb657
Signed-off-by: default avatarAsish Bhattacharya <asishb@codeaurora.org>
parent 5f318d6e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2436,6 +2436,17 @@ static struct snd_soc_dai_driver msm_dai_q6_mi2s_dai[] = {
		.probe = msm_dai_q6_dai_mi2s_probe,
		.remove = msm_dai_q6_dai_mi2s_remove,
	},
	{
		.playback = {
			.stream_name = "Secondary MI2S Playback Vibra",
			.aif_name = "SEC_MI2S_RX_VIBRA",
			.rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_8000 |
			SNDRV_PCM_RATE_16000,
			.formats = SNDRV_PCM_FMTBIT_S16_LE,
			.rate_min =     8000,
			.rate_max =     48000,
		},
	},
};