ALSA: hda: Use auto-cleanup macros
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest25 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | ALSA: hda: Introduce auto cleanup macros for PMinclude/ | +30 | 0 replies | |
| 2/25 | ALSA: hda/ca0132: Use cleanup macros for PM controlssound/ | +39 | 0 replies | |
| 3/25 | ALSA: hda/hdmi: Use cleanup macros for PM controlssound/ | +10 | 0 replies | |
| 4/25 | ALSA: hda/realtek: Use cleanup macros for PM controlssound/ | +1 | 0 replies | |
| 5/25 | ALSA: hda/common: Use cleanup macros for PM controlssound/ sound/ sound/ | +24 | 0 replies | |
| 6/25 | ALSA: hda: Use auto cleanup macros for DSP loader locksinclude/ sound/ sound/ | +24 | 0 replies | |
| 7/25 | ALSA: hda/common: Use guard() for mutex lockssound/ sound/ sound/ | +74 | 0 replies | |
| 8/25 | ALSA: hda/core: Use guard() for mutex lockssound/ sound/ sound/ +2 more | +27 | 0 replies | |
| 9/25 | ALSA: hda/ca0132: Use guard() for mutex lockssound/ | +60 | 0 replies | |
| 10/25 | ALSA: hda/hdmi: Use guard() for mutex lockssound/ sound/ | +63 | 0 replies | |
| 11/25 | ALSA: hda/realtek: Use guard() for mutex lockssound/ sound/ | +8 | 0 replies | |
| 12/25 | ALSA: hda/cs35l41: Use guard() for mutex lockssound/ | +47 | 0 replies | |
| 13/25 | ALSA: hda/tas2781: Use guard() for mutex lockssound/ | +17 | 0 replies | |
| 14/25 | ALSA: hda/cs8409: Use guard() for mutex lockssound/ | +5 | 0 replies | |
| 15/25 | ALSA: hda/component: Use guard() for mutex lockssound/ sound/ | +5 | 0 replies | |
| 16/25 | ALSA: hda/generic: Use guard() for mutex lockssound/ | +30 | 0 replies | |
| 17/25 | ALSA: hda/analog: Use guard() for mutex lockssound/ | +1 | 0 replies | |
| 18/25 | ALSA: hda/intel: Use guard() for mutex lockssound/ | +5 | 0 replies | |
| 19/25 | ALSA: hda/common: Use auto cleanup for temporary bufferssound/ sound/ | +14 | 0 replies | |
| 20/25 | ALSA: hda/realtek: Use auto cleanup for temporary bufferssound/ | +1 | 0 replies | |
| 21/25 | ALSA: hda/generic: Use auto cleanup for temporary bufferssound/ | +2 | 0 replies | |
| 22/25 | ALSA: hda/ext: Use guard() for spinlockssound/ | +17 | 0 replies | |
| 23/25 | ALSA: hda/core: Use guard() for spinlockssound/ sound/ | +31 | 3 replies | |
| 24/25 | ALSA: hda/common: Use guard() for spinlockssound/ sound/ | +26 | 0 replies | |
| 25/25 | ALSA: hda/intel: Use guard() for spinlockssound/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/25] ALSA: hda: Use auto-cleanup macros
This is a slightly largish patch set for cleaning up HD-audio code to use the auto-cleanup macros like guard(), CLASS() and __free() for managing the locking and temporary buffers.
All patches are only about code refactoring and no behavior changes intended.
Takashi
===
Takashi Iwai (25):
ALSA: hda: Introduce auto cleanup macros for PM
ALSA: hda/ca0132: Use cleanup macros for PM controls
ALSA: hda/hdmi: Use cleanup macros for PM controls
ALSA: hda/realtek: Use cleanup macros for PM controls
ALSA: hda/common: Use cleanup macros for PM controls
ALSA: hda: Use auto cleanup macros for DSP loader locks
ALSA: hda/common: Use guard() for mutex locks
ALSA: hda/core: Use guard() for mutex locks
ALSA: hda/ca0132: Use guard() for mutex locks
ALSA: hda/hdmi: Use guard() for mutex locks
ALSA: hda/realtek: Use guard() for mutex locks
ALSA: hda/cs35l41: Use guard() for mutex locks
ALSA: hda/tas2781: Use guard() for mutex locks
ALSA: hda/cs8409: Use guard() for mutex locks
ALSA: hda/component: Use guard() for mutex locks
ALSA: hda/generic: Use guard() for mutex locks
ALSA: hda/analog: Use guard() for mutex locks
ALSA: hda/intel: Use guard() for mutex locks
ALSA: hda/common: Use auto cleanup for temporary buffers
ALSA: hda/realtek: Use auto cleanup for temporary buffers
ALSA: hda/generic: Use auto cleanup for temporary buffers
ALSA: hda/ext: Use guard() for spinlocks
ALSA: hda/core: Use guard() for spinlocks
ALSA: hda/common: Use guard() for spinlocks
ALSA: hda/intel: Use guard() for spinlocks
include/sound/hda_codec.h | 30 ++ include/sound/hdaudio.h | 1 + sound/hda/codecs/analog.c | 3 +- sound/hda/codecs/ca0132.c | 276 +++++++----------- sound/hda/codecs/cirrus/cs8409.c | 22 +- sound/hda/codecs/generic.c | 76 ++--- sound/hda/codecs/hdmi/hdmi.c | 199 +++++-------- sound/hda/codecs/hdmi/nvhdmi-mcp.c | 3 +- sound/hda/codecs/realtek/alc268.c | 3 +- sound/hda/codecs/realtek/alc269.c | 3 +- sound/hda/codecs/realtek/realtek.c | 22 +- sound/hda/codecs/side-codecs/cs35l41_hda.c | 110 +++---- sound/hda/codecs/side-codecs/hda_component.c | 15 +- sound/hda/codecs/side-codecs/hda_component.h | 3 +- .../hda/codecs/side-codecs/tas2781_hda_i2c.c | 53 ++-- sound/hda/common/codec.c | 129 ++++---- sound/hda/common/controller.c | 124 ++++---- sound/hda/common/proc.c | 4 +- sound/hda/common/sysfs.c | 110 +++---- sound/hda/controllers/intel.c | 14 +- sound/hda/core/bus.c | 8 +- sound/hda/core/component.c | 6 +- sound/hda/core/controller.c | 58 ++-- sound/hda/core/device.c | 23 +- sound/hda/core/ext/controller.c | 6 +- sound/hda/core/ext/stream.c | 38 ++- sound/hda/core/regmap.c | 35 +-- sound/hda/core/stream.c | 31 +- 28 files changed, 559 insertions(+), 846 deletions(-)
Signature · 1 line
2.50.1