From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v3 4/5] arm64: dts: arduino-imola: add support for sound
Date: Tue, 22 Sep 2026 22:26:01 +0000 [thread overview]
Message-ID: <20260922222602.0D0651F000FF@smtp.kernel.org> (raw)
In-Reply-To: <ca8cfb43cdc08851db1283df2108e77b22fedc6e.1790114902.git.srinivas.kandagatla@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] ASoC: redundant BE DAI links for identical q6afe CPU DAI
--
commit bd3dd7751e736b11cf0fd37d9d4991d90e6ee507
Author: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
arm64: dts: arduino-imola: add support for sound
Add support for sound on Arduino UNO Q board, which includes headset
playback and record, and lineout.
> diff --git a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> index c472e13fceca4..e99d2a56dc287 100644
> --- a/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
> +++ b/arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts
[ ... ]
> + ear-playback-dai-link {
> + link-name = "Ear Out Playback";
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> +
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
[ ... ]
> + hph-playback-dai-link {
> + link-name = "Headphones Playback";
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> +
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
[ ... ]
> + lo-playback-dai-link {
> + link-name = "Line Out Playback";
> +
> + codec {
> + sound-dai = <&pmic4125_codec 0>, <&swr1 0>, <&rxmacro 0>;
> + };
> +
> + cpu {
> + sound-dai = <&q6afedai RX_CODEC_DMA_RX_0>;
> + };
[Severity: High]
Does defining multiple identical Backend (BE) DAI links cause conflicting
DSP driver operations?
This link, as well as ear-playback-dai-link and hph-playback-dai-link
defined above, map the exact same physical CPU DAI (RX_CODEC_DMA_RX_0) to the
exact same Codec DAIs.
When the ALSA DPCM core registers the card, it instantiates duplicate BE
runtimes. During audio playback, if the DPCM core triggers multiple of these
BEs concurrently or sequentially, could this interrupt active audio and
corrupt the shared hardware state? For instance, q6afe_dai_prepare() in
sound/soc/qcom/qdsp6/q6afe-dai.c checks is_port_started[dai->id]; if two
runtimes call prepare on the same DAI, the driver might abruptly stop and
restart the active DSP port.
Should logical branching to different endpoints (Ear, Headphones, Line Out)
be handled internally by the Codec driver's DAPM routing graph instead of
defining redundant BE bus links?
> +
> + platform {
> + sound-dai = <&q6routing>;
> + };
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790114902.git.srinivas.kandagatla@oss.qualcomm.com?part=4
next prev parent reply other threads:[~2026-09-22 22:26 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 13:39 [PATCH v2 0/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-02-23 13:39 ` [PATCH v2 1/5] clk: qcom: fix SM6115 lpasscc register offset Srinivas Kandagatla
2026-02-24 12:20 ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec Srinivas Kandagatla
2026-02-23 16:56 ` Rob Herring
2026-02-23 18:14 ` Srinivas Kandagatla
2026-02-23 13:39 ` [PATCH v2 3/5] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-02-24 2:58 ` Dmitry Baryshkov
2026-02-24 12:24 ` Konrad Dybcio
2026-02-24 12:28 ` Konrad Dybcio
2026-05-15 8:29 ` Srinivas Kandagatla
2026-07-17 9:39 ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 4/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-02-24 11:48 ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 5/5] arm64: defconfig: Enable configs for audio drivers on Arduino UnoQ Srinivas Kandagatla
2026-02-24 2:57 ` Dmitry Baryshkov
2026-09-22 22:11 ` [PATCH v3 0/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-22 22:11 ` [PATCH v3 1/5] clk: qcom: fix SM6115 lpasscc register offset Srinivas Kandagatla
2026-09-22 23:42 ` Alexey Klimov
2026-09-22 22:11 ` [PATCH v3 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec Srinivas Kandagatla
2026-09-22 22:21 ` sashiko-bot
2026-09-28 10:09 ` Krzysztof Kozlowski
2026-09-28 17:42 ` Srinivas Kandagatla
2026-09-22 22:11 ` [PATCH v3 3/5] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-09-22 22:21 ` sashiko-bot
2026-09-22 22:11 ` [PATCH v3 4/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-22 22:26 ` sashiko-bot [this message]
2026-09-23 19:31 ` Alexey Klimov
2026-09-22 22:11 ` [PATCH v3 5/5] arm64: defconfig: Enable configs for audio drivers on Arduino UnoQ Srinivas Kandagatla
2026-09-22 23:39 ` Alexey Klimov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260922222602.0D0651F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=srinivas.kandagatla@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox