diff options
author | Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> | 2025-02-28 11:32:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:44:48 +0200 |
commit | 4bf228566e9e72de10f82b1b2d2e36927dbba868 (patch) | |
tree | 4d94116879623be85d73f5ed4da2bebfc0b18e03 /drivers/memstick | |
parent | ab48e742e575121f8e92cf66d8bc6ef54e60a555 (diff) | |
download | linux-4bf228566e9e72de10f82b1b2d2e36927dbba868.tar.gz linux-4bf228566e9e72de10f82b1b2d2e36927dbba868.tar.bz2 linux-4bf228566e9e72de10f82b1b2d2e36927dbba868.zip |
ASoC: mediatek: mt6359: Fix DT parse error due to wrong child node name
commit 79c080c75cdd0a5ba38be039f6f9bb66ec53b0c4 upstream.
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 <louisalexis.eyraud@collabora.com>
Reviewed-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://patch.msgid.link/20250228-mt6359-fix-probe-failed-v1-1-64941d387b2c@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions