linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ALSA: Add support for new HP G12 laptops
@ 2024-08-02 15:22 Richard Fitzgerald
  2024-08-02 15:22 ` [PATCH v2 1/3] spi: Add empty versions of ACPI functions Richard Fitzgerald
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Richard Fitzgerald @ 2024-08-02 15:22 UTC (permalink / raw)
  To: tiwai, broonie, wsa+renesas, mika.westerberg
  Cc: linux-sound, linux-spi, linux-i2c, linux-kernel, patches,
	Richard Fitzgerald

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-08-12  7:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02 15:22 [PATCH v2 0/3] ALSA: Add support for new HP G12 laptops Richard Fitzgerald
2024-08-02 15:22 ` [PATCH v2 1/3] spi: Add empty versions of ACPI functions Richard Fitzgerald
2024-08-02 15:22 ` [PATCH v2 2/3] i2c: Fix conditional for substituting empty " Richard Fitzgerald
2024-08-04 14:34   ` Wolfram Sang
2024-08-02 15:22 ` [PATCH v2 3/3] ALSA: hda/realtek: Add support for new HP G12 laptops Richard Fitzgerald
2024-08-02 21:49 ` (subset) [PATCH v2 0/3] ALSA: " Mark Brown
2024-08-05  8:02 ` Takashi Iwai
2024-08-06 11:06   ` Richard Fitzgerald
2024-08-06 11:19     ` Takashi Iwai
2024-08-06 11:29       ` Wolfram Sang
2024-08-06 11:41         ` Takashi Iwai
2024-08-12  6:53           ` Wolfram Sang
2024-08-12  7:04             ` Takashi Iwai
2024-08-05 19:40 ` Mark Brown
2024-08-12  7:19   ` Takashi Iwai
2024-08-12  7:20 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).