I got the following failed error,
[ 0.723692] i2c-core: driver [wm8960] registered;
[ 0.729266] mt2701-wm8960 sound: ASoC: failed to init link wm8960-codec: -517
[ 0.736405] mt2701-wm8960 sound: mt2701_wm8960_machine_probe snd_soc_register_card fail -517
and sound is added in DTS:
sound: sound {
compatible = "mediatek,mt2701-wm8960-machine";
mediatek,platform = <&afe>;
audio-routing =
"Headphone", "HP_L",
"Headphone", "HP_R",
"LINPUT1", "AMIC",
"RINPUT1", "AMIC";
mediatek,audio-codec = <&wm8960>;
pinctrl-names = "default";
pinctrl-0 = <&i2s1_pins>;
};
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
wm8960:wm8960@1a {
compatible = "wlf, wm8960";
reg = <0x1a>;
};
};
The kernel is 5.4.68, so any idea on this question. Thanks for support.