]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec
authorHans de Goede <hdegoede@redhat.com>
Thu, 24 Oct 2024 21:16:14 +0000 (23:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:50:39 +0000 (19:50 +0100)
commit84e961ad2a16384fd974a9963dd6eb51df936bdd
tree775e51e450233f5d19b8839a08d6d144c3b4e109
parent31545f4b7cdb6da6a0519120b8c96dc40f186aac
ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec

[ Upstream commit d48696b915527b5bcdd207a299aec03fb037eb17 ]

On some x86 Bay Trail tablets which shipped with Android as factory OS,
the DSDT is so broken that the codec needs to be manually instantatiated
by the special x86-android-tablets.ko "fixup" driver for cases like this.

This means that the codec-dev cannot be retrieved through its ACPI fwnode,
add support to the bytcr_rt5640 machine driver for such manually
instantiated rt5640 i2c_clients.

An example of a tablet which needs this is the Vexia EDU ATLA 10 tablet,
which has been distributed to schools in the Spanish AndalucĂ­a region.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241024211615.79518-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c