summaryrefslogtreecommitdiff
path: root/Documentation/sound/alsa-configuration.rst
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2021-09-23 18:50:46 +0800
committerMark Brown <broonie@kernel.org>2021-09-27 13:01:13 +0100
commitb0e3b0a7078d71455747025e7deee766d4d43432 (patch)
tree0b138b1e7fec57fdf81a7a2b26b6295ed5959241 /Documentation/sound/alsa-configuration.rst
parentd0900042522345ed51127d787f02e1171e110e27 (diff)
downloadlinux-rpi-b0e3b0a7078d71455747025e7deee766d4d43432.tar.gz
linux-rpi-b0e3b0a7078d71455747025e7deee766d4d43432.tar.bz2
linux-rpi-b0e3b0a7078d71455747025e7deee766d4d43432.zip
ASoC: dmaengine: Introduce module option prealloc_buffer_size_kbytes
Currently, The fixed 512KB prealloc buffer size is too larger for tiny memory kernel (such as 16MB memory). This patch adds the module option "prealloc_buffer_size_kbytes" to specify prealloc buffer size. It's suitable for cards which use the generic dmaengine pcm driver with no config. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Link: https://lore.kernel.org/r/1632394246-59341-1-git-send-email-sugar.zhang@rock-chips.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/sound/alsa-configuration.rst')
-rw-r--r--Documentation/sound/alsa-configuration.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/sound/alsa-configuration.rst b/Documentation/sound/alsa-configuration.rst
index 65f61695f561..34888d4fc4a8 100644
--- a/Documentation/sound/alsa-configuration.rst
+++ b/Documentation/sound/alsa-configuration.rst
@@ -100,6 +100,15 @@ amidi_map
MIDI device number maps assigned to the 2st OSS device;
Default: 1
+Module snd-soc-core
+-------------------
+
+The soc core module. It is used by all ALSA card drivers.
+It takes the following options which have global effects.
+
+prealloc_buffer_size_kbytes
+ Specify prealloc buffer size in kbytes (default: 512).
+
Common parameters for top sound card modules
--------------------------------------------