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

Simon Trimmer posted 4 patches 1 year, 6 months ago
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(-)
[PATCH v3 0/4] ALSA: hda: Improvements to hda_component
Posted by Simon Trimmer 1 year, 6 months ago
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
Re: [PATCH v3 0/4] ALSA: hda: Improvements to hda_component
Posted by Takashi Iwai 1 year, 6 months ago
On Mon, 17 Jun 2024 17:41:01 +0200,
Simon Trimmer wrote:
> 
> 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

Applied all patches now to for-next branch.  Thanks.


Takashi