Skip to content

ALSA: Convert to new copy_silence PCM ops

Takashi Iwai alsa-devel linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16ALSA: pcm: Introduce copy_silence PCM opsinclude/sound/pcm.h sound/core/pcm_lib.c sound/soc/soc-pcm.c+63 -150 replies
2/16ALSA: Update document about copy_silence PCM opsDocumentation/sound/kernel-api/writing-an-alsa-driver.rst+63 -470 replies
3/16ALSA: dummy: Convert to copy_silence opssound/drivers/dummy.c+3 -100 replies
4/16ALSA: es1938: Convert to copy_silence opssound/pci/es1938.c+7 -40 replies
5/16ALSA: korg1212: Convert to copy_silence opssound/pci/korg1212/korg1212.c+36 -920 replies
6/16ALSA: nm256: Convert to copy_silence opssound/pci/nm256/nm256.c+14 -210 replies
7/16ALSA: rme32: Convert to copy_silence opssound/pci/rme32.c+24 -250 replies
8/16ALSA: rme96: Convert to copy_silence opssound/pci/rme96.c+26 -260 replies
9/16ALSA: rme9652: Convert to copy_silence opssound/pci/rme9652/rme9652.c+20 -260 replies
10/16ALSA: hdsp: Convert to copy_silence opssound/pci/rme9652/hdsp.c+20 -240 replies
11/16ALSA: gus: Convert to copy_silence opssound/isa/gus/gus_pcm.c+9 -340 replies
12/16ALSA: sb: Convert to copy_silence opssound/isa/sb/emu8000_pcm.c+30 -690 replies
13/16ALSA: sh: Convert to copy_silence opssound/sh/sh_dac_audio.c+9 -310 replies
14/16ASoC: blackfin: Convert to copy_silence opssound/soc/blackfin/bf5xx-ac97-pcm.c sound/soc/blackfin/bf5xx-ac97.c sound/soc/blackfin/bf5xx-i2s-pcm.c+30 -401 reply
15/16solo6x10: Convert to copy_silence opsdrivers/media/pci/solo6x10/solo6x10-g723.c+7 -61 reply
16/16ALSA: pcm: Drop the old copy and silence opsinclude/sound/pcm.h sound/core/pcm_lib.c sound/soc/soc-pcm.c+1 -440 replies

Reviews trailers per patch

2 of 16 patches have a Reviewed-by or Acked-by.

PatchHans VerkuilMark Brown
1/16
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16A-b
15/16A-b
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/16] ALSA: Convert to new copy_silence PCM ops

Hi,

this is a part of the previous RFC patchset, and it's preliminary for eliminating set_fs() usages in the rest ALSA codes. This patchset itself converts the existing copy and silence PCM ops to a new single copy_silence ops. The new callback takes in_kernel flag for allowing in-kernel buffer copy, so that the PCM drivers can pass the buffer in kernel-space later directly without set_fs() hackery.

The latest codes are found in topic/kill-set_fs branch of sound git tree.

The media people are Cc'ed for solo6x10 changes.

Takashi

===

Takashi Iwai (16):
ALSA: pcm: Introduce copy_silence PCM ops
ALSA: Update document about copy_silence PCM ops
ALSA: dummy: Convert to copy_silence ops
ALSA: es1938: Convert to copy_silence ops
ALSA: korg1212: Convert to copy_silence ops
ALSA: nm256: Convert to copy_silence ops
ALSA: rme32: Convert to copy_silence ops
ALSA: rme96: Convert to copy_silence ops
ALSA: rme9652: Convert to copy_silence ops
ALSA: hdsp: Convert to copy_silence ops
ALSA: gus: Convert to copy_silence ops
ALSA: sb: Convert to copy_silence ops
ALSA: sh: Convert to copy_silence ops
ASoC: blackfin: Convert to copy_silence ops [media] solo6x10: Convert to copy_silence ops
ALSA: pcm: Drop the old copy and silence ops

 .../sound/kernel-api/writing-an-alsa-driver.rst    | 110 ++++++++++--------
 drivers/media/pci/solo6x10/solo6x10-g723.c         |  13 ++-
 include/sound/pcm.h                                |   8 +-
 sound/core/pcm_lib.c                               |  68 ++++++-----
 sound/drivers/dummy.c                              |  13 +--
 sound/isa/gus/gus_pcm.c                            |  43 ++-----
 sound/isa/sb/emu8000_pcm.c                         |  99 +++++-----------
 sound/pci/es1938.c                                 |  11 +-
 sound/pci/korg1212/korg1212.c                      | 128 ++++++---------------
 sound/pci/nm256/nm256.c                            |  35 +++---
 sound/pci/rme32.c                                  |  49 ++++----
 sound/pci/rme96.c                                  |  52 ++++-----
 sound/pci/rme9652/hdsp.c                           |  44 ++++---
 sound/pci/rme9652/rme9652.c                        |  46 ++++----
 sound/sh/sh_dac_audio.c                            |  40 ++-----
 sound/soc/blackfin/bf5xx-ac97-pcm.c                |   6 +-
 sound/soc/blackfin/bf5xx-ac97.c                    |  18 ++-
 sound/soc/blackfin/bf5xx-i2s-pcm.c                 |  46 +++-----
 sound/soc/soc-pcm.c                                |   3 +-
 19 files changed, 340 insertions(+), 492 deletions(-)
Signature · 1 line
2.13.0