All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/20] ALSA: Drop superfluous PCM preallocation error checks
@ 2019-02-05 19:42 Takashi Iwai
  2019-02-05 19:42 ` [PATCH 01/20] ALSA: atmel: " Takashi Iwai
                   ` (20 more replies)
  0 siblings, 21 replies; 26+ messages in thread
From: Takashi Iwai @ 2019-02-05 19:42 UTC (permalink / raw)
  To: alsa-devel; +Cc: Mark Brown

Hi,

this is yet another patchset for trivial cleanups.
At this time, it's about the superfluous error check from
snd_pcm_lib_preallocate_pages() and co.  They always succeed and never
return a failure although many codes do the error check.  The patches
simply remove the error checks and finally change the function to be
void function.

The patches are applied on top of my previous NULL device fix patches,
so not applicable to ASoC tree, I guess.  As all these are trivial,
applying through my tree altogether would be simpler.

So, Mark, please give your ACK if the changes to ASoC drivers are OK.


thanks,

Takashi

===

Takashi Iwai (20):
  ALSA: atmel: Drop superfluous PCM preallocation error checks
  ALSA: parisc: Drop superfluous PCM preallocation error checks
  ALSA: pci: Drop superfluous PCM preallocation error checks
  ALSA: ppc: Drop superfluous PCM preallocation error checks
  ALSA: sh: Drop superfluous PCM preallocation error checks
  ALSA: sparc: Drop superfluous PCM preallocation error checks
  ALSA: spi: Drop superfluous PCM preallocation error checks
  ALSA: usb: Drop superfluous PCM preallocation error checks
  ASoC: amd: Drop superfluous PCM preallocation error checks
  ASoC: dwc: Drop superfluous PCM preallocation error checks
  ASoC: intel: Drop superfluous PCM preallocation error checks
  ASoC: mediatek: Drop superfluous PCM preallocation error checks
  ASoC: meson: Drop superfluous PCM preallocation error checks
  ASoC: sh: Drop superfluous PCM preallocation error checks
  ASoC: stm: Drop superfluous PCM preallocation error checks
  ASoC: txx9: Drop superfluous PCM preallocation error checks
  ASoC: uniphier: Drop superfluous PCM preallocation error checks
  ASoC: xtensa: Drop superfluous PCM preallocation error checks
  ASoC: dmaengine: Drop superfluous PCM preallocation error checks
  ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void

 include/sound/pcm.h                                |  8 ++---
 sound/atmel/ac97c.c                                |  4 +--
 sound/core/pcm_memory.c                            | 29 +++++-----------
 sound/parisc/harmony.c                             | 10 ++----
 sound/pci/ad1889.c                                 |  7 +---
 sound/pci/aw2/aw2-alsa.c                           | 40 +++++++---------------
 sound/pci/bt87x.c                                  | 10 +++---
 sound/pci/ca0106/ca0106_main.c                     | 16 ++++-----
 sound/pci/echoaudio/echoaudio.c                    | 16 ++++-----
 sound/pci/emu10k1/emupcm.c                         | 22 ++++++++----
 sound/pci/emu10k1/p16v.c                           | 17 ++++-----
 sound/pci/lx6464es/lx6464es.c                      |  8 ++---
 sound/pci/rme9652/hdspm.c                          | 20 +++--------
 sound/pci/via82xx_modem.c                          |  8 ++---
 sound/ppc/snd_ps3.c                                |  6 +---
 sound/sh/aica.c                                    | 14 ++++----
 sound/soc/amd/acp-pcm-dma.c                        | 26 ++++++--------
 sound/soc/amd/raven/acp3x-pcm-dma.c                |  9 +++--
 sound/soc/dwc/dwc-pcm.c                            |  3 +-
 sound/soc/intel/atom/sst-mfld-platform-pcm.c       |  9 ++---
 sound/soc/intel/baytrail/sst-baytrail-pcm.c        | 15 +++-----
 sound/soc/intel/haswell/sst-haswell-pcm.c          | 10 ++----
 sound/soc/intel/skylake/skl-pcm.c                  |  9 ++---
 .../soc/mediatek/common/mtk-afe-platform-driver.c  |  6 ++--
 sound/soc/meson/axg-fifo.c                         |  7 ++--
 sound/soc/sh/fsi.c                                 |  3 +-
 sound/soc/sh/rcar/core.c                           |  5 +--
 sound/soc/sh/siu_pcm.c                             | 13 +------
 sound/soc/soc-generic-dmaengine-pcm.c              |  5 +--
 sound/soc/stm/stm32_adfsdm.c                       |  5 +--
 sound/soc/txx9/txx9aclc.c                          |  4 ++-
 sound/soc/uniphier/aio-dma.c                       |  3 +-
 sound/soc/xtensa/xtfpga-i2s.c                      |  6 ++--
 sound/sparc/dbri.c                                 |  9 ++---
 sound/spi/at73c213.c                               |  2 +-
 sound/usb/usx2y/usbusx2yaudio.c                    | 21 ++++++------
 sound/usb/usx2y/usx2yhwdeppcm.c                    | 19 +++++-----
 37 files changed, 157 insertions(+), 267 deletions(-)

-- 
2.16.4

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

end of thread, other threads:[~2019-02-06 15:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-05 19:42 [PATCH 00/20] ALSA: Drop superfluous PCM preallocation error checks Takashi Iwai
2019-02-05 19:42 ` [PATCH 01/20] ALSA: atmel: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 02/20] ALSA: parisc: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 03/20] ALSA: pci: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 04/20] ALSA: ppc: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 05/20] ALSA: sh: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 06/20] ALSA: sparc: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 07/20] ALSA: spi: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 08/20] ALSA: usb: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 09/20] ASoC: amd: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 10/20] ASoC: dwc: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 11/20] ASoC: intel: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 12/20] ASoC: mediatek: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 13/20] ASoC: meson: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 14/20] ASoC: sh: " Takashi Iwai
2019-02-06  5:51   ` Kuninori Morimoto
2019-02-05 19:42 ` [PATCH 15/20] ASoC: stm: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 16/20] ASoC: txx9: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 17/20] ASoC: uniphier: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 18/20] ASoC: xtensa: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 19/20] ASoC: dmaengine: " Takashi Iwai
2019-02-05 19:42 ` [PATCH 20/20] ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void Takashi Iwai
2019-02-06  9:07 ` [PATCH 00/20] ALSA: Drop superfluous PCM preallocation error checks Jaroslav Kysela
2019-02-06  9:27   ` Takashi Iwai
2019-02-06 14:50   ` Mark Brown
2019-02-06 15:35     ` Jaroslav Kysela

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.