All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] ALSA: PCM suspend cleanup
@ 2019-01-15 16:21 Takashi Iwai
  2019-01-15 16:21 ` [PATCH 01/14] ALSA: pcm: Suspend streams globally via device type PM ops Takashi Iwai
                   ` (15 more replies)
  0 siblings, 16 replies; 31+ messages in thread
From: Takashi Iwai @ 2019-01-15 16:21 UTC (permalink / raw)
  To: alsa-devel
  Cc: Libin Yang, Mengdong Lin, Keyon Jie, Pierre-Louis Bossart,
	liam.r.girdwood, broonie

Hi,

this is a patch set to clean up the PCM suspend calls by introducing
the PCM device PM ops.  This won't change much for ASoC but reduce
lots of snd_pcm_suspend*() calls in other sound drivers.

Note that this patch series itself won't fix anything about the recent
PM issue reported for Intel ASoC, but it was inspired through the
discussion there.


thanks,

Takashi

===

Takashi Iwai (14):
  ALSA: pcm: Suspend streams globally via device type PM ops
  ALSA: atiixp: Move PCM suspend/resume code into trigger callback
  ALSA: isa: Remove superfluous snd_pcm_suspend*() calls
  ALSA: drivers: Remove superfluous snd_pcm_suspend*() calls
  ALSA: pci: Remove superfluous snd_pcm_suspend*() calls
  ALSA: usb: Remove superfluous snd_pcm_suspend*() calls
  ALSA: x86: Remove superfluous snd_pcm_suspend*() calls
  ALSA: ppc: Remove superfluous snd_pcm_suspend*() calls
  ALSA: aoa: Remove superfluous snd_pcm_suspend*() calls
  ALSA: arm: Remove superfluous snd_pcm_suspend*() calls
  ALSA: pcmcia: Remove superfluous snd_pcm_suspend*() calls
  drm: bridge: dw-hdmi: Remove superfluous snd_pcm_suspend*() calls
  ALSA: doc: Update the description about PCM suspend procedure
  ALSA: pcm: Make snd_pcm_suspend() local static

 .../kernel-api/writing-an-alsa-driver.rst     | 25 ++++++------------
 .../drm/bridge/synopsys/dw-hdmi-ahb-audio.c   |  1 -
 include/sound/pcm.h                           |  6 +----
 sound/aoa/soundbus/i2sbus/core.c              |  4 ---
 sound/arm/aaci.c                              |  1 -
 sound/arm/pxa2xx-ac97.c                       |  1 -
 sound/core/pcm.c                              | 26 +++++++++++++++++++
 sound/core/pcm_native.c                       | 11 +++-----
 sound/drivers/aloop.c                         |  4 ---
 sound/drivers/dummy.c                         |  2 --
 sound/drivers/pcsp/pcsp.c                     |  1 -
 sound/drivers/vx/vx_core.c                    |  4 ---
 sound/isa/ad1816a/ad1816a_lib.c               |  1 -
 sound/isa/als100.c                            |  1 -
 sound/isa/cmi8328.c                           |  1 -
 sound/isa/cmi8330.c                           |  1 -
 sound/isa/es1688/es1688.c                     |  2 --
 sound/isa/es18xx.c                            |  2 --
 sound/isa/sb/jazz16.c                         |  1 -
 sound/isa/sb/sb16.c                           |  1 -
 sound/isa/sb/sb8.c                            |  1 -
 sound/isa/wss/wss_lib.c                       |  1 -
 sound/pci/ali5451/ali5451.c                   |  4 +--
 sound/pci/als300.c                            |  1 -
 sound/pci/als4000.c                           |  1 -
 sound/pci/atiixp.c                            | 19 ++++++--------
 sound/pci/atiixp_modem.c                      |  2 --
 sound/pci/azt3328.c                           |  4 ---
 sound/pci/ca0106/ca0106_main.c                |  3 ---
 sound/pci/cmipci.c                            |  4 ---
 sound/pci/cs4281.c                            |  2 --
 sound/pci/cs46xx/cs46xx_lib.c                 |  6 -----
 sound/pci/cs5535audio/cs5535audio_pm.c        |  1 -
 sound/pci/ctxfi/ctatc.c                       |  8 ------
 sound/pci/echoaudio/echoaudio.c               |  3 ---
 sound/pci/emu10k1/emu10k1.c                   |  6 -----
 sound/pci/ens1370.c                           |  3 ---
 sound/pci/es1938.c                            |  1 -
 sound/pci/es1968.c                            |  1 -
 sound/pci/fm801.c                             |  1 -
 sound/pci/hda/hda_codec.c                     |  2 --
 sound/pci/ice1712/ice1712.c                   |  3 ---
 sound/pci/ice1712/ice1724.c                   |  3 ---
 sound/pci/intel8x0.c                          |  2 --
 sound/pci/intel8x0m.c                         |  3 ---
 sound/pci/maestro3.c                          |  1 -
 sound/pci/nm256/nm256.c                       |  1 -
 sound/pci/oxygen/oxygen_lib.c                 |  5 +---
 sound/pci/riptide/riptide.c                   |  1 -
 sound/pci/rme96.c                             |  2 --
 sound/pci/sis7019.c                           |  1 -
 sound/pci/trident/trident_main.c              |  4 ---
 sound/pci/via82xx.c                           |  2 --
 sound/pci/via82xx_modem.c                     |  2 --
 sound/pci/ymfpci/ymfpci_main.c                |  4 ---
 sound/pcmcia/pdaudiocf/pdaudiocf_core.c       |  1 -
 sound/ppc/pmac.c                              |  1 -
 sound/soc/soc-pcm.c                           |  1 +
 sound/usb/card.c                              |  1 -
 sound/usb/line6/driver.c                      |  4 +--
 sound/x86/intel_hdmi_audio.c                  | 12 ---------
 61 files changed, 50 insertions(+), 174 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2019-01-28 19:28 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 16:21 [PATCH 00/14] ALSA: PCM suspend cleanup Takashi Iwai
2019-01-15 16:21 ` [PATCH 01/14] ALSA: pcm: Suspend streams globally via device type PM ops Takashi Iwai
2019-01-28 18:11   ` Mark Brown
2019-01-15 16:21 ` [PATCH 02/14] ALSA: atiixp: Move PCM suspend/resume code into trigger callback Takashi Iwai
2019-01-15 16:21 ` [PATCH 03/14] ALSA: isa: Remove superfluous snd_pcm_suspend*() calls Takashi Iwai
2019-01-15 16:21 ` [PATCH 04/14] ALSA: drivers: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 05/14] ALSA: pci: " Takashi Iwai
2019-01-15 16:49   ` Pierre-Louis Bossart
2019-01-15 17:01     ` Takashi Iwai
2019-01-15 20:42       ` Takashi Iwai
2019-01-16 15:50         ` Mark Brown
2019-01-16 15:52           ` Takashi Iwai
2019-01-16 16:32             ` Mark Brown
2019-01-17 15:55             ` Mark Brown
2019-01-17  2:21         ` Pierre-Louis Bossart
2019-01-17  8:39           ` Takashi Iwai
2019-01-28 19:28             ` Pierre-Louis Bossart
2019-01-15 16:21 ` [PATCH 06/14] ALSA: usb: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 07/14] ALSA: x86: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 08/14] ALSA: ppc: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 09/14] ALSA: aoa: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 10/14] ALSA: arm: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 11/14] ALSA: pcmcia: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 12/14] drm: bridge: dw-hdmi: " Takashi Iwai
2019-01-15 16:21 ` [PATCH 13/14] ALSA: doc: Update the description about PCM suspend procedure Takashi Iwai
2019-01-15 16:21 ` [PATCH 14/14] ALSA: pcm: Make snd_pcm_suspend() local static Takashi Iwai
2019-01-17  1:50   ` Yang, Libin
2019-01-17  7:43     ` Takashi Iwai
2019-01-17 14:53       ` Yang, Libin
2019-01-15 16:32 ` [PATCH 00/14] ALSA: PCM suspend cleanup Jaroslav Kysela
2019-01-17  1:47 ` Yang, Libin

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.