[PATCH 1/2] ASoC: qcom: lpass: Fix hardcoded SC7810 DAI IDs
Srinivas Kandagatla
srinivas.kandagatla at linaro.org
Fri Jan 15 18:15:53 CET 2021
On 15/01/2021 16:49, Stephan Gerhold wrote:
> Right now it declares just a single DAI, but multiple "ports":
>
> enum lpaif_i2s_ports {
> IPQ806X_LPAIF_I2S_PORT_CODEC_SPK,
> IPQ806X_LPAIF_I2S_PORT_CODEC_MIC,
> IPQ806X_LPAIF_I2S_PORT_SEC_SPK,
> IPQ806X_LPAIF_I2S_PORT_SEC_MIC,
> IPQ806X_LPAIF_I2S_PORT_MI2S,
> };
>
> static struct snd_soc_dai_driver ipq806x_lpass_cpu_dai_driver = {
> .id = IPQ806X_LPAIF_I2S_PORT_MI2S,
> /* ... */
> };
>
> I suppose we could just declare this as MI2S_PRIMARY but not sure if
> that is accurate. Do you have more information about this platform?
Looking at the specs it does show that it has 0-4 total 5 I2S
interfaces, however Am unable to find a proper name similar to other MI2S.
This one is the last one (4)!
--srini
More information about the Alsa-devel
mailing list