[PATCH v3 0/4] ALSA: hda: Improvements to hda_component

Simon Trimmer
2024-06-17T15:45:22Z

This series of patches moves duplicated members from the
instanced component structures into a new parent structure and
introduces locking so that consumers of the interface do not use
stale data.

Changes in v3:
- These Fixes separated from this series to make them easier
to manage:
https://lore.kernel.org/all/20240613133713.75550-1-simont@opensource.cirrus.com/

Simon Trimmer (4):
ALSA: hda: hda_component: Introduce component parent structure
ALSA: hda: hda_component: Change codecs to use component parent structure
ALSA: hda: hda_component: Move codec field into the parent
ALSA: hda: hda_component: Protect shared data with a mutex

sound/pci/hda/cs35l41_hda.c | 43 +++++++++++--------
sound/pci/hda/cs35l56_hda.c | 25 ++++++-----
sound/pci/hda/hda_component.c | 75 ++++++++++++++++++++-------------
sound/pci/hda/hda_component.h | 48 ++++++++++++++-------
sound/pci/hda/patch_realtek.c | 17 ++++----
sound/pci/hda/tas2781_hda_i2c.c | 33 ++++++++-------
6 files changed, 141 insertions(+), 100 deletions(-)

--
2.34.1