On Fri, Aug 02, 2024 at 04:22:12PM +0100, Richard Fitzgerald wrote: > Add support for HP G12 laptops that use CS35L54 or CS35L56 amplifiers > with Realtek HDA codecs. Some of these use the same SSID for models with > CS35L54 and models with CS35L56 so the ACPI entries are examined to > determine which amp is present. The following changes since commit a0c04bd55a467aee3eb647555343ad6971106e86: Merge tag 'kbuild-fixes-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild (2024-07-28 14:02:48 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-acpi-lookup-dummy for you to fetch changes up to 90ec3a8a7fd0d43026fcca979713e077d4883b56: spi: Add empty versions of ACPI functions (2024-08-02 18:51:59 +0100) ---------------------------------------------------------------- spi: Add empty versions of ACPI lookup functions A patch from Richard Fitzgerald adding dummy versions of the ACPI lookup functions for SPI: Provide empty versions of acpi_spi_count_resources(), acpi_spi_device_alloc() and acpi_spi_find_controller_by_adev() if the real functions are not being built. This commit fixes two problems with the original definitions: 1) There wasn't an empty version of these functions 2) The #if only depended on CONFIG_ACPI. But the functions are implemented in the core spi.c so CONFIG_SPI_MASTER must also be enabled for the real functions to exist. ---------------------------------------------------------------- Richard Fitzgerald (1): spi: Add empty versions of ACPI functions include/linux/spi/spi.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-)
Attachment:
signature.asc
Description: PGP signature