Skip to content

Add devres support to card resources

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ALSA: core: Add device-managed page allocator helperinclude/sound/memalloc.h sound/core/memalloc.c+74 -180 replies
2/7ALSA: core: Add managed card creationinclude/sound/core.h sound/core/init.c+96 -412 replies
3/7ALSA: intel8x0: Allocate resources with device-managed APIssound/pci/intel8x0.c sound/pci/intel8x0m.c+92 -1940 replies
4/7ALSA: atiixp: Allocate resources with device-managed APIssound/pci/atiixp.c sound/pci/atiixp_modem.c+60 -1480 replies
5/7ALSA: hda: Allocate resources with device-managed APIssound/pci/hda/hda_controller.h sound/pci/hda/hda_intel.c+10 -340 replies
6/7ALSA: doc: Brush up the old writing-an-alsa-driverDocumentation/sound/kernel-api/writing-an-alsa-driver.rst+149 -1580 replies
7/7ALSA: doc: Add device-managed resource sectionDocumentation/sound/kernel-api/writing-an-alsa-driver.rst+33 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Add devres support to card resources

Hi,

here is the patchset containing the changes to support a device-managed resource management for ALSA card and memory pages. The actual code changes are identical with the previous RFC series, but a few documentation updates are included in this official set.

Takashi

===

Takashi Iwai (7):
ALSA: core: Add device-managed page allocator helper
ALSA: core: Add managed card creation
ALSA: intel8x0: Allocate resources with device-managed APIs
ALSA: atiixp: Allocate resources with device-managed APIs
ALSA: hda: Allocate resources with device-managed APIs
ALSA: doc: Brush up the old writing-an-alsa-driver
ALSA: doc: Add device-managed resource section

 .../kernel-api/writing-an-alsa-driver.rst     | 340 ++++++++++--------
 include/sound/core.h                          |   5 +
 include/sound/memalloc.h                      |   4 +
 sound/core/init.c                             |  95 ++++-
 sound/core/memalloc.c                         |  88 ++++-
 sound/pci/atiixp.c                            | 104 ++----
 sound/pci/atiixp_modem.c                      | 104 ++----
 sound/pci/hda/hda_controller.h                |   1 -
 sound/pci/hda/hda_intel.c                     |  43 +--
 sound/pci/intel8x0.c                          | 143 +++-----
 sound/pci/intel8x0m.c                         | 143 +++-----
 11 files changed, 514 insertions(+), 556 deletions(-)
Signature · 1 line
2.18.0