Skip to content

Commit

Permalink
ASoC: rockchip: Kconfig: Remove unused PREALLOC_BUFFER_SIZE
Browse files Browse the repository at this point in the history
This reverts part of commit 213457f
("ASoC: rockchip: pcm: Adjust min/max value for pcm config").

Instead, pass module option 'prealloc_buffer_size_kbytes'
to specify it. any details please refer to:
Documentation/sound/alsa-configuration.rst

e.g. 32 kbytes prealloc buffer size:

"snd_soc_core.prealloc_buffer_size_kbytes=32"

Change-Id: I3788620807c4e94d3e9c15ef224b76266722dcc1
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
  • Loading branch information
Sugar Zhang authored and rkhuangtao committed Oct 27, 2021
1 parent e8ce286 commit b84613b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sound/soc/rockchip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ config SND_SOC_ROCKCHIP
the Rockchip SoCs' Audio interfaces. You will also need to
select the audio interfaces to support below.

config SND_SOC_ROCKCHIP_PREALLOC_BUFFER_SIZE
int "Default prealloc buffer size (kbytes)"
depends on SND_SOC_ROCKCHIP
default "512"
help
The default value is 512 kilobytes. Only change this if you know
what you are doing.

config SND_SOC_ROCKCHIP_AUDIO_PWM
tristate "Rockchip Audio PWM Driver"
depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
Expand Down

0 comments on commit b84613b

Please sign in to comment.