ASoC: amd: Fix borrowed ACPI codec device references
Yibo Tan <lhfff@tju.edu.cn> says: Two AMD machine drivers treat a borrowed ACPI physical device pointer as an owned reference. The ES8336 driver drops it on a GPIO lookup failure; the ACP3x driver drops it on an allocation failure and also stores it beyond probe. Both paths produced a KASAN use-after-free during device unregister in focused tests calling the production callbacks. The corresponding fixed tests reached the same failure paths without a kernel diagnostic. The tests did not exercise a complete sound card or physical hardware. The changed ACP3x object builds with W=1 with CONFIG_ACPI=y and CONFIG_ACPI=n. The ES8336 object builds with W=1 with CONFIG_ACPI=y. Link: https://patch.msgid.link/20260922185057.954150-1-lhfff@tju.edu.cn