Skip to content

ALSA: Clean up with DEFINE_SIMPLE_DEV_PM_OPS()

Takashi Iwai linux-sound 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest29 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29ALSA: aloop: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/drivers/aloop.c+2 -70 replies
2/29ALSA: dummy: Replace with DEFINE_SIPMLE_DEV_PM_OPS()sound/drivers/dummy.c+2 -70 replies
3/29ALSA: pcsp: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/drivers/pcsp/pcsp.c+2 -70 replies
4/29ALSA: als300: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/als300.c+2 -70 replies
5/29ALSA: als4000: Replace with DEFINE_SIMPLE_DEV_PM_OPS()include/sound/sb.h sound/pci/als4000.c+5 -70 replies
6/29ALSA: atiixp: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/atiixp.c sound/pci/atiixp_modem.c+4 -190 replies
7/29ALSA: ens137x: Replace with DEFINE_SIMPLE_DEV_PM_OPS()include/sound/ak4531_codec.h sound/pci/ens1370.c+5 -70 replies
8/29ALSA: intel8x0: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/intel8x0.c sound/pci/intel8x0m.c+4 -140 replies
9/29ALSA: nm256: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/nm256/nm256.c+2 -70 replies
10/29ALSA: aoa: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/aoa/fabrics/layout.c+1 -60 replies
11/29ALSA: aaci: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/arm/aaci.c+2 -80 replies
12/29ALSA: pxa2xx-ac97: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/arm/pxa2xx-ac97.c+1 -60 replies
13/29ASoC: pxa2xx-ac97: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/soc/pxa/pxa2xx-ac97.c+1 -50 replies
14/29ALSA: at73c213: Replace with DEFINE_SIMPLE_DEV_PM_OPS()sound/spi/at73c213.c+2 -90 replies
15/29ALSA: ali5451: Embed suspend image into struct snd_alisound/pci/ali5451/ali5451.c+3 -180 replies
16/29ALSA: ali5451: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/ali5451/ali5451.c+2 -90 replies
17/29ALSA: azt3328: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/azt3328.c+2 -90 replies
18/29ALSA: cmipci: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/cmipci.c+2 -90 replies
19/29ALSA: cs4281: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/cs4281.c+2 -110 replies
20/29ALSA: echoaudio: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/echoaudio/echoaudio.c sound/pci/echoaudio/echoaudio.h+2 -210 replies
21/29ALSA: es1938: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/es1938.c+2 -90 replies
22/29ALSA: es1968: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/es1968.c+2 -150 replies
23/29ALSA: fm801: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/fm801.c+2 -90 replies
24/29ALSA: maestro3: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/maestro3.c+10 -190 replies
25/29ALSA: riptide: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/riptide/riptide.c+2 -90 replies
26/29ALSA: rme96: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/rme96.c+10 -200 replies
27/29ALSA: sis7019: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/sis7019.c+2 -110 replies
28/29ALSA: via82xx: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()sound/pci/via82xx.c sound/pci/via82xx_modem.c+4 -200 replies
29/29ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS()Documentation/sound/kernel-api/writing-an-alsa-driver.rst+4 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/29] ALSA: Clean up with DEFINE_SIMPLE_DEV_PM_OPS()

Hi,

this is a patch set to clean up the use of the deprecated SIMPLE_DEV_PM_OPS() with DEFINE_SIPMLE_DEV_PM_OPS().

Most of changes are strightforward, but some needed tweaks, either defining the dummy functions for non-PM configs or unconditionally enabling a few bytes for the storage.

There are still a few leftover SIMPLE_DEV_PM_OPS() even after this patch; those are with the lots of build dependencies, so the change would be non-trivial.

Takashi

===

Takashi Iwai (29):
ALSA: aloop: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: dummy: Replace with DEFINE_SIPMLE_DEV_PM_OPS()
ALSA: pcsp: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: als300: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: als4000: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: atiixp: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: ens137x: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: intel8x0: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: nm256: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: aoa: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: aaci: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: pxa2xx-ac97: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ASoC: pxa2xx-ac97: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: at73c213: Replace with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: ali5451: Embed suspend image into struct snd_ali
ALSA: ali5451: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: azt3328: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: cmipci: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: cs4281: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: echoaudio: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: es1938: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: es1968: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: fm801: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: maestro3: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: riptide: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: rme96: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: sis7019: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: via82xx: Simplify with DEFINE_SIMPLE_DEV_PM_OPS()
ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS()

 .../kernel-api/writing-an-alsa-driver.rst     |  6 ++--
 include/sound/ak4531_codec.h                  |  3 ++
 include/sound/sb.h                            |  3 ++
 sound/aoa/fabrics/layout.c                    |  7 +---
 sound/arm/aaci.c                              | 10 ++----
 sound/arm/pxa2xx-ac97.c                       |  7 +---
 sound/drivers/aloop.c                         |  9 ++----
 sound/drivers/dummy.c                         |  9 ++----
 sound/drivers/pcsp/pcsp.c                     |  9 ++----
 sound/pci/ali5451/ali5451.c                   | 32 +++----------------
 sound/pci/als300.c                            |  9 ++----
 sound/pci/als4000.c                           |  9 ++----
 sound/pci/atiixp.c                            | 12 ++-----
 sound/pci/atiixp_modem.c                      | 11 ++-----
 sound/pci/azt3328.c                           | 11 ++-----
 sound/pci/cmipci.c                            | 11 ++-----
 sound/pci/cs4281.c                            | 13 ++------
 sound/pci/echoaudio/echoaudio.c               | 21 ++----------
 sound/pci/echoaudio/echoaudio.h               |  2 --
 sound/pci/ens1370.c                           |  9 ++----
 sound/pci/es1938.c                            | 11 ++-----
 sound/pci/es1968.c                            | 17 ++--------
 sound/pci/fm801.c                             | 11 ++-----
 sound/pci/intel8x0.c                          |  9 ++----
 sound/pci/intel8x0m.c                         |  9 ++----
 sound/pci/maestro3.c                          | 29 ++++++-----------
 sound/pci/nm256/nm256.c                       |  9 ++----
 sound/pci/riptide/riptide.c                   | 11 ++-----
 sound/pci/rme96.c                             | 30 ++++++-----------
 sound/pci/sis7019.c                           | 13 ++------
 sound/pci/via82xx.c                           | 15 ++-------
 sound/pci/via82xx_modem.c                     |  9 ++----
 sound/soc/pxa/pxa2xx-ac97.c                   |  6 +---
 sound/spi/at73c213.c                          | 11 ++-----
 34 files changed, 86 insertions(+), 307 deletions(-)
Signature · 1 line
2.35.3