[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250813120657.1e93b16b@bootlin.com>
Date: Wed, 13 Aug 2025 12:06:57 +0200
From: Herve Codina <herve.codina@...tlin.com>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: Qiang Zhao <qiang.zhao@....com>, Shengjiu Wang
<shengjiu.wang@...il.com>, Xiubo Li <Xiubo.Lee@...il.com>, Fabio Estevam
<festevam@...il.com>, Nicolin Chen <nicoleotsuka@...il.com>, Liam Girdwood
<lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, Jaroslav Kysela
<perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
linuxppc-dev@...ts.ozlabs.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-sound@...r.kernel.org
Subject: Re: [PATCH v2 2/4] ASoc: fsl: fsl_qmc_audio: Ensure audio channels
are ordered in TDM bus
Hi Christophe,
On Tue, 12 Aug 2025 12:50:56 +0200
Christophe Leroy <christophe.leroy@...roup.eu> wrote:
...
> @@ -879,6 +884,30 @@ static int qmc_audio_dai_parse(struct qmc_audio *qmc_audio, struct device_node *
> return -EINVAL;
> }
> }
> +
> + ret = qmc_chan_get_ts_info(qmc_dai->qmc_chans[i], &ts_info);
> + if (ret) {
> + dev_err(qmc_audio->dev, "dai %d get QMC %d channel TS info failed %d\n",
> + qmc_dai->id, i, ret);
> + return ret;
> + }
> +
> + last_rx_ts = fls64(ts_info.rx_ts_mask);
> + last_tx_ts = fls64(ts_info.rx_ts_mask);
tx_ts_mask instead of rx_ts_mask for last_tx_ts.
Best regards,
Hervé
Powered by blists - more mailing lists