Thread (3 messages) read the whole thread 3 messages, 3 authors, 2025-03-04

Re: [PATCH] ASoC: mediatek: mt6359: Fix DT parse error due to wrong child node name

From: Nícolas F. R. A. Prado <hidden>
Date: 2025-02-28 13:14:12
Also in: linux-mediatek, linux-sound, lkml

On Fri, Feb 28, 2025 at 11:32:19AM +0100, Louis-Alexis Eyraud wrote:
A recent dtbs_check error fix in mt6359.dtsi file changed a node name
(from "mt6359codec" to "audio-codec") without modifying the mt6539
codec code that uses it.
It leads to a probe failure after devicetree parsing returns in error:
[    1.354025] mt6359-sound mt6359-sound: mt6359_platform_driver_probe() failed to parse dts
[    1.355066] mt6359-sound mt6359-sound: probe with driver mt6359-sound failed with error -22
So, add the child node retrieval with the new name and if not found,
try with the older one for backward compatibility.

Fixes: 76b35f59bbe6 ("arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec")
Signed-off-by: Louis-Alexis Eyraud <redacted>
Reviewed-by: Nícolas F. R. A. Prado <redacted>

Thanks,
Nícolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help