Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Detlev Casanova" <detlev.casanova@collabora.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 5/8] arm64: dts: rockchip: Rename rk3399 HDMI audio card
Date: Thu, 10 Sep 2026 13:40:22 +0000	[thread overview]
Message-ID: <20260910134023.1BDD41F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260910-fix-rockchip-hdmi-audio-names-v2-5-1396a6168e20@collabora.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Critical] ALSA card rename causes userspace ABI breakage
--

commit d2106b3a23ffdceb3724e809b448fcb65bba2229
Author: Detlev Casanova <detlev.casanova@collabora.com>

arm64: dts: rockchip: Rename rk3399 HDMI audio card

This commit renames the hdmi-sound ALSA card to "RK3399 HDMI" in the rk3399
base device tree to better match naming conventions.

> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi
> index 49c68fe65de66..c46e58d4af0d4 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-base.dtsi
> @@ -2008,7 +2008,7 @@ hdmi_sound: hdmi-sound {
>  		compatible = "simple-audio-card";
>  		simple-audio-card,format = "i2s";
>  		simple-audio-card,mclk-fs = <256>;
> -		simple-audio-card,name = "hdmi-sound";
> +		simple-audio-card,name = "RK3399 HDMI";

[Severity: Critical]
Does renaming the ALSA card cause a userspace ABI regression?

The simple-audio-card,name property defines the ALSA card name exposed to
userspace (e.g., in /proc/asound/cards and sysfs). Userspace audio services
like PulseAudio, PipeWire, ALSA Use Case Manager (UCM), and ALSA state
restoration (alsactl) rely on this exact string to identify the hardware,
load correct routing profiles, and restore saved volume levels.

Renaming it from hdmi-sound to RK3399 HDMI might break this ABI, leading to
broken audio configurations or lost mixer states on kernel upgrade without
proper deprecation.

>  		status = "disabled";
>  
>  		simple-audio-card,cpu {

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260910-fix-rockchip-hdmi-audio-names-v2-0-1396a6168e20@collabora.com?part=5

  reply	other threads:[~2026-09-10 13:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 13:34 [PATCH v2 0/8] arm(64): dts: rockchip: give HDMI sound cards SoC-specific names Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 1/8] ARM: dts: rockchip: Rename rk3066a HDMI audio card Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 2/8] ARM: dts: rockchip: Rename rk3288-miqi " Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 3/8] ARM: dts: rockchip: Rename rk3288-tinker " Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 4/8] arm64: dts: rockchip: Rename rk3328 " Detlev Casanova
2026-09-10 13:38   ` sashiko-bot
2026-09-10 13:34 ` [PATCH v2 5/8] arm64: dts: rockchip: Rename rk3399 " Detlev Casanova
2026-09-10 13:40   ` sashiko-bot [this message]
2026-09-10 13:34 ` [PATCH v2 6/8] arm64: dts: rockchip: Rename rk3566 and rk3568 HDMI audio cards Detlev Casanova
2026-09-10 13:44   ` sashiko-bot
2026-09-10 13:34 ` [PATCH v2 7/8] arm64: dts: rockchip: Rename rk3576 HDMI audio card Detlev Casanova
2026-09-10 13:34 ` [PATCH v2 8/8] arm64: dts: rockchip: Rename rk3588 HDMI audio cards Detlev Casanova
2026-09-10 13:42   ` sashiko-bot

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=20260910134023.1BDD41F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=detlev.casanova@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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