public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] ALSA: hda: Improvements to hda_component
@ 2024-06-03 10:35 Simon Trimmer
  2024-06-03 10:35 ` [PATCH 1/7] ALSA: hda: cs35l56: Component should be unbound before deconstruction Simon Trimmer
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Simon Trimmer @ 2024-06-03 10:35 UTC (permalink / raw)
  To: tiwai
  Cc: linux-sound, alsa-devel, linux-kernel, patches, soyer,
	shenghao-ding, kevin-lu, baojun.xu, kailang, Simon Trimmer

This series of patches makes sure that the existing consumers of
the infrastructure unbind their interface before they begin
destroying the driver, 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.

v2:
 - Correct application of sizeof to pointer flagged by kernel test robot

Simon Trimmer (7):
  ALSA: hda: cs35l56: Component should be unbound before deconstruction
  ALSA: hda: cs35l41: Component should be unbound before deconstruction
  ALSA: hda/tas2781: Component should be unbound before deconstruction
  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     | 47 ++++++++++++---------
 sound/pci/hda/cs35l56_hda.c     | 29 +++++++------
 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 | 37 ++++++++--------
 6 files changed, 147 insertions(+), 106 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/7] ALSA: hda: Improvements to hda_component
@ 2024-05-31 15:14 Simon Trimmer
  2024-05-31 15:14 ` [PATCH 1/7] ALSA: hda: cs35l56: Component should be unbound before deconstruction Simon Trimmer
  0 siblings, 1 reply; 10+ messages in thread
From: Simon Trimmer @ 2024-05-31 15:14 UTC (permalink / raw)
  To: tiwai
  Cc: linux-sound, alsa-devel, linux-kernel, patches, soyer,
	shenghao-ding, kevin-lu, baojun.xu, kailang, Simon Trimmer

This series of patches makes sure that the existing consumers of
the infrastructure unbind their interface before they begin
destroying the driver, 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.

Simon Trimmer (7):
  ALSA: hda: cs35l56: Component should be unbound before deconstruction
  ALSA: hda: cs35l41: Component should be unbound before deconstruction
  ALSA: hda/tas2781: Component should be unbound before deconstruction
  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     | 47 +++++++++++---------
 sound/pci/hda/cs35l56_hda.c     | 29 +++++++------
 sound/pci/hda/hda_component.c   | 76 ++++++++++++++++++++-------------
 sound/pci/hda/hda_component.h   | 48 ++++++++++++++-------
 sound/pci/hda/patch_realtek.c   | 17 ++++----
 sound/pci/hda/tas2781_hda_i2c.c | 37 ++++++++--------
 6 files changed, 148 insertions(+), 106 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-06-13 12:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-03 10:35 [PATCH v2 0/7] ALSA: hda: Improvements to hda_component Simon Trimmer
2024-06-03 10:35 ` [PATCH 1/7] ALSA: hda: cs35l56: Component should be unbound before deconstruction Simon Trimmer
2024-06-03 10:35 ` [PATCH 2/7] ALSA: hda: cs35l41: " Simon Trimmer
2024-06-03 10:35 ` [PATCH 3/7] ALSA: hda/tas2781: " Simon Trimmer
2024-06-03 10:35 ` [PATCH 4/7] ALSA: hda: hda_component: Introduce component parent structure Simon Trimmer
2024-06-03 10:35 ` [PATCH 5/7] ALSA: hda: hda_component: Change codecs to use " Simon Trimmer
2024-06-03 10:35 ` [PATCH 6/7] ALSA: hda: hda_component: Move codec field into the parent Simon Trimmer
2024-06-03 10:35 ` [PATCH 7/7] ALSA: hda: hda_component: Protect shared data with a mutex Simon Trimmer
2024-06-13 12:06 ` [PATCH v2 0/7] ALSA: hda: Improvements to hda_component Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2024-05-31 15:14 [PATCH " Simon Trimmer
2024-05-31 15:14 ` [PATCH 1/7] ALSA: hda: cs35l56: Component should be unbound before deconstruction Simon Trimmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox