]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: control: remove entry limitation for list operation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 24 May 2017 01:04:30 +0000 (10:04 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 May 2017 08:18:28 +0000 (10:18 +0200)
commit20c9ab18478aecf88ded8b593fd91cf6cbd42215
tree6dc34680cdce95917afbd707544320eb4b641271
parent382ff3e818eb4b271f21ed2f7d3b124e227228b3
ALSA: control: remove entry limitation for list operation

In current implementation of ALSA control core, list operation has
a limitation to handle 16384 entries at once. This seems due to
allocation in kernel space to copy data from user space.

With a commit f528d00d919a ("ALSA: control: Simplify snd_ctl_elem_list()
implementation"), for the operation, ALSA control core copies data
into user space directly. No need to care of kernel spaces anymore.

This commit purges the limitation.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c