Re: [PATCH v7 0/3] Add HDMI audio on the rk3588 SoC

Detlev Casanova
2025-02-21T14:44:45Z

On Friday, 21 February 2025 06:42:31 EST Piotr Oniszczuk wrote:
> Small data point: on rock5b switching in dts analog audio: from
> audio-graph-card to simple-audio-card (so dts is:
> https://gist.github.com/warpme/349b27e49bc6f617ef1041047e75adab ) makes
> kernel oops go away with analog audio still working…
>
> so maybe issue is in audio-graph-card code (or its dts fragments)?

I can reproduce with your config (I guess that removing the driver for analog
audio hides the issue)

I'm really feel like simple_util_clean_reference(card) in simple_probe()
errors path should not be called anymore, since
https://lore.kernel.org/all/87zfk4o5l2.wl-kuninori.morimoto.gx@renesas.com/

I'm adding Kuninori Morimoto in the to list of this thread for extra input
(See thread at https://lore.kernel.org/all/B8EF5196-55FB-44EC-B93C-E327C791225B@gmail.com/) as they made that change.
Especially those commits:
ASoC: audio-graph-card2: use __free(device_node) for device node
ASoC: audio-graph-card: use __free(device_node) for device node
ASoC: simple-card: use __free(device_node) for device node

Detlev.