All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: linux-sound@vger.kernel.org
Subject: [PATCH 00/29] ALSA: Clean up with DEFINE_SIMPLE_DEV_PM_OPS()
Date: Wed,  7 Feb 2024 16:51:11 +0100	[thread overview]
Message-ID: <20240207155140.18238-1-tiwai@suse.de> (raw)

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(-)

-- 
2.35.3


             reply	other threads:[~2024-02-07 15:51 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 15:51 Takashi Iwai [this message]
2024-02-07 15:51 ` [PATCH 01/29] ALSA: aloop: Replace with DEFINE_SIMPLE_DEV_PM_OPS() Takashi Iwai
2024-02-07 15:51 ` [PATCH 02/29] ALSA: dummy: Replace with DEFINE_SIPMLE_DEV_PM_OPS() Takashi Iwai
2024-02-07 15:51 ` [PATCH 03/29] ALSA: pcsp: Replace with DEFINE_SIMPLE_DEV_PM_OPS() Takashi Iwai
2024-02-07 15:51 ` [PATCH 04/29] ALSA: als300: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 05/29] ALSA: als4000: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 06/29] ALSA: atiixp: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 07/29] ALSA: ens137x: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 08/29] ALSA: intel8x0: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 09/29] ALSA: nm256: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 10/29] ALSA: aoa: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 11/29] ALSA: aaci: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 12/29] ALSA: pxa2xx-ac97: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 13/29] ASoC: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 14/29] ALSA: at73c213: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 15/29] ALSA: ali5451: Embed suspend image into struct snd_ali Takashi Iwai
2024-02-07 15:51 ` [PATCH 16/29] ALSA: ali5451: Simplify with DEFINE_SIMPLE_DEV_PM_OPS() Takashi Iwai
2024-02-07 15:51 ` [PATCH 17/29] ALSA: azt3328: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 18/29] ALSA: cmipci: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 19/29] ALSA: cs4281: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 20/29] ALSA: echoaudio: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 21/29] ALSA: es1938: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 22/29] ALSA: es1968: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 23/29] ALSA: fm801: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 24/29] ALSA: maestro3: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 25/29] ALSA: riptide: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 26/29] ALSA: rme96: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 27/29] ALSA: sis7019: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 28/29] ALSA: via82xx: " Takashi Iwai
2024-02-07 15:51 ` [PATCH 29/29] ALSA: doc: Use DEFINE_SIMPLE_DEV_PM_OPS() Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240207155140.18238-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-sound@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.