We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08aa540 commit ed7bca5Copy full SHA for ed7bca5
sound/soc/qcom/sm8250.c
@@ -63,6 +63,14 @@ static int sm8250_snd_startup(struct snd_pcm_substream *substream)
63
snd_soc_dai_set_fmt(cpu_dai, fmt);
64
snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt);
65
break;
66
+ case SECONDARY_MI2S_RX:
67
+ codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S;
68
+ snd_soc_dai_set_sysclk(cpu_dai,
69
+ Q6AFE_LPASS_CLK_ID_SEC_MI2S_IBIT,
70
+ MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK);
71
+ snd_soc_dai_set_fmt(cpu_dai, fmt);
72
+ snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt);
73
+ break;
74
case TERTIARY_MI2S_RX:
75
codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S;
76
snd_soc_dai_set_sysclk(cpu_dai,
0 commit comments