linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ALSA: hda: Move component binding support into separate library
@ 2024-01-24 11:26 Richard Fitzgerald
  2024-01-24 11:26 ` [PATCH 1/2] ALSA: hda: realtek: Re-work CS35L41 fixups to re-use for other amps Richard Fitzgerald
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Richard Fitzgerald @ 2024-01-24 11:26 UTC (permalink / raw)
  To: tiwai, soyer, shenghao-ding
  Cc: perex, linux-kernel, linux-sound, alsa-devel, patches,
	Richard Fitzgerald

The Cirrus Logic amplifiers are currently paired with Realtek HDA codecs.
But they could be used with other codecs. To prepare for this, these two
patches move the manager side of the component binding out of the Realtek
driver into a library module.

The first patch tweaks the CS35L41 code so that it is not hardcoded to
CS35L41, and changes the TAS2781 handling so that it re-uses that code
instead of having a near-identical copy of it.

Can someone please test that these two patches don't break TAS2781?
I have checked that they should work in theory but I don't have hardware
to test on.

Richard Fitzgerald (2):
  ALSA: hda: realtek: Re-work CS35L41 fixups to re-use for other amps
  ALSA: hda: realtek: Move hda_component implementation to module

 MAINTAINERS                   |   1 +
 sound/pci/hda/Kconfig         |   4 +
 sound/pci/hda/Makefile        |   2 +
 sound/pci/hda/hda_component.c | 169 ++++++++++++++++++++++++++
 sound/pci/hda/hda_component.h |  59 +++++++++
 sound/pci/hda/patch_realtek.c | 217 ++++------------------------------
 6 files changed, 261 insertions(+), 191 deletions(-)
 create mode 100644 sound/pci/hda/hda_component.c

-- 
2.30.2


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

end of thread, other threads:[~2024-01-25  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 11:26 [PATCH 0/2] ALSA: hda: Move component binding support into separate library Richard Fitzgerald
2024-01-24 11:26 ` [PATCH 1/2] ALSA: hda: realtek: Re-work CS35L41 fixups to re-use for other amps Richard Fitzgerald
2024-01-24 11:26 ` [PATCH 2/2] ALSA: hda: realtek: Move hda_component implementation to module Richard Fitzgerald
2024-01-24 13:43 ` [PATCH 0/2] ALSA: hda: Move component binding support into separate library Takashi Iwai
2024-01-25  9:05   ` Takashi Iwai
2024-01-24 21:55 ` Gergo Koteles

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