Skip to content

ALSA: Prep work for PCI rescan support

Takashi Iwai alsa-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesIn review
  2. v17 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Move / drop unnecessary snd_power_wait() calls
* Rephrase changelogs and comments, reorder patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ALSA: core: Use READ_ONCE() / WRITE_ONCE() for power state changeinclude/sound/core.h+2 -20 replies
2/6ALSA: control: Track in-flight control read/write/tlv accessesinclude/sound/core.h sound/core/control.c sound/core/control_compat.c +1 more+106 -140 replies
3/6ALSA: control: Drop superfluous snd_power_wait() callssound/core/control.c sound/core/control_compat.c+0 -200 replies
4/6ALSA: control: Minor optimization for SNDRV_CTL_IOCTL_POWER_STATEsound/core/control.c+0 -40 replies
5/6ALSA: Drop superfluous argument from snd_power_wait()include/sound/core.h sound/core/init.c sound/core/pcm_native.c +2 more+6 -101 reply
6/6ALSA: pcm: Block the release until the system resume finishessound/core/pcm_native.c+4 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMark BrownJaroslav Kysela
SeriesR-b
1/6
2/6
3/6
4/6
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] ALSA: Prep work for PCI rescan support

Hi,

this is a revised patch set as a prep work for the future-planned PCI rescan support(*). The essential part is the patch to track in-flight tasks, and the rest are cleanups and fixes in the core code. With those changes, the driver can perform a sort of software suspend on the device without the hardware intervention, which is required during the PCI BAR movement, for example.

v1->v2:
* Move / drop unnecessary snd_power_wait() calls
* Rephrase changelogs and comments, reorder patches

Takashi

(*) https://lore.kernel.org/alsa-devel/[email protected]/

===

Takashi Iwai (6):
ALSA: core: Use READ_ONCE() / WRITE_ONCE() for power state change
ALSA: control: Track in-flight control read/write/tlv accesses
ALSA: control: Drop superfluous snd_power_wait() calls
ALSA: control: Minor optimization for SNDRV_CTL_IOCTL_POWER_STATE
ALSA: Drop superfluous argument from snd_power_wait()
ALSA: pcm: Block the release until the system resume finishes

 include/sound/core.h        | 50 ++++++++++++++++++++++++++++++++++---
 sound/core/control.c        | 38 +++++++++++++---------------
 sound/core/control_compat.c | 14 +++--------
 sound/core/init.c           | 46 ++++++++++++++++++++++++++++------
 sound/core/pcm_native.c     |  6 ++++-
 sound/soc/soc-core.c        |  2 +-
 sound/usb/usx2y/us122l.c    |  2 +-
 7 files changed, 113 insertions(+), 45 deletions(-)
Signature · 1 line
2.26.2