Re: [RFC PATCH] ASoC: soc-core: use the device tree card name as long_name

"Clayton Craft" <[email protected]>
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel,org.kernel.vger.phone-devel
Message-ID <[email protected]>
On Tue May 5, 2026 at 8:58 PM PDT, Val Packett wrote:
> When setting the model property for the sound card on an OF/DT system,
> the expectation is that that model name would be used in the UCM config
> path lookup. However, the DT model name was only used as the "short"
> name, which gets overriden by the "long" name during loading, and
> the "long" name is automatically set based on DMI data if available.
> As a result, adding an intermediate bootloader such as U-Boot which
> provides DMI data on a device that didn't have it before would break
> the UCM config loading by suddenly looking at the "wrong" path.
>
> Fix by assigning the DT model name to the long_name field as well.
>
> Signed-off-by: Val Packett <[email protected]>
> ---

Thanks for the patch! This fixed audio on my Google Pixel 3a, which booted the
7.1.3 kernel (on postmarketOS) via u-boot.

-Clayton

Tested-by: Clayton Craft <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.