Main-line Linux kernel tree http://www.kernel.org
Go to file
Takashi Iwai b2bcbd031d ALSA: ump: Don't create unused substreams for static blocks
When the UMP Endpoint is declared as "static", that is, no dynamic
reassignment of UMP Groups, it makes little sense to expose always all
16 groups with 16 substreams.  Many of those substreams are disabled
groups, hence they are useless, but applications don't know it and try
to open / access all those substreams unnecessarily.

This patch limits the number of UMP legacy rawmidi substreams only to
the active groups.  The behavior is changed only for the static
endpoint (i.e. devices without UMP v1.1 feature implemented or with
the static block flag is set).

Fixes: 0b5288f5fe ("ALSA: ump: Add legacy raw MIDI support")
Link: https://lore.kernel.org/r/20230824075108.29958-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-08-24 10:03:17 +02:00
arch x86: 2023-07-30 11:19:08 -07:00
block
certs
crypto
Documentation Merge branch 'for-linus' into for-next 2023-08-24 09:27:21 +02:00
drivers Merge branch 'for-linus' into for-next 2023-08-24 09:27:21 +02:00
fs four small client fixes 2023-07-29 20:49:13 -07:00
include ALSA: ump: Don't create unused substreams for static blocks 2023-08-24 10:03:17 +02:00
init
io_uring
ipc
kernel Probe fixes for 6.5-rc3: 2023-07-30 11:27:22 -07:00
lib Merge branch 'for-linus' into for-next 2023-08-24 09:27:21 +02:00
LICENSES
mm 11 hotfixes. Five are cc:stable and the remainder address post-6.4 issues 2023-07-28 17:19:52 -07:00
net
rust
samples
scripts x86: 2023-07-30 11:19:08 -07:00
security
sound ALSA: ump: Don't create unused substreams for static blocks 2023-08-24 10:03:17 +02:00
tools Merge branch 'for-linus' into for-next 2023-08-24 09:27:21 +02:00
usr
virt KVM: Grab a reference to KVM for VM and vCPU stats file descriptors 2023-07-29 11:05:28 -04:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: Add entries for TEXAS INSTRUMENTS ASoC DRIVERS 2023-08-15 18:24:52 +01:00
Makefile Linux 6.5-rc4 2023-07-30 13:23:47 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.