mbox series

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

Message ID 20240617154105.108635-1-simont@opensource.cirrus.com (mailing list archive)
Headers show
Series ALSA: hda: Improvements to hda_component | expand

Message

Simon Trimmer June 17, 2024, 3:41 p.m. UTC
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(-)

Comments

Takashi Iwai June 18, 2024, 9:53 a.m. UTC | #1
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