Skip to content

ALSA: Add support for new HP G12 laptops

Richard Fitzgerald linux-i2c linux-sound linux-spi lkml 1 version Applied

Status from this message: Applied to for-current, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 12 repliesApplied

Changes in v2 from the cover letter

Added I2C and SPI patches to provide dummy functions.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3spi: Add empty versions of ACPI functionsinclude/linux/spi/spi.h+18 -10 replies
2/3i2c: Fix conditional for substituting empty ACPI functionsinclude/linux/i2c.h+1 -11 reply
3/3ALSA: hda/realtek: Add support for new HP G12 laptopssound/pci/hda/patch_realtek.c+99 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] ALSA: Add support for new HP G12 laptops

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.

To avoid having to #ifdef around this code we've fixed the definitions of SPI and I2C functions that were not correctly supplying dummy functions when the real functions are not in the build.

Changes since V1:
Added I2C and SPI patches to provide dummy functions.

Richard Fitzgerald (2):
spi: Add empty versions of ACPI functions
i2c: Fix conditional for substituting empty ACPI functions

Simon Trimmer (1):
ALSA: hda/realtek: Add support for new HP G12 laptops

 include/linux/i2c.h           |  2 +-
 include/linux/spi/spi.h       | 19 ++++++-
 sound/pci/hda/patch_realtek.c | 99 +++++++++++++++++++++++++++++++++++
 3 files changed, 118 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.2