Skip to content

Commit 2ceb65c

Browse files
committed
ALSA: usb-audio: Update the documentation for the new delayed_register option
Just adding a brief explanation to alsa-configuration.rst. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent a4aad56 commit 2ceb65c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/sound/alsa-configuration.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2234,6 +2234,19 @@ use_vmalloc
22342234
buffers. If mmap is used on such architectures, turn off this
22352235
option, so that the DMA-coherent buffers are allocated and used
22362236
instead.
2237+
delayed_register
2238+
The option is needed for devices that have multiple streams
2239+
defined in multiple USB interfaces. The driver may invoke
2240+
registrations multiple times (once per interface) and this may
2241+
lead to the insufficient device enumeration.
2242+
This option receives an array of strings, and you can pass
2243+
ID:INTERFACE like ``0123abcd:4`` for performing the delayed
2244+
registration to the given device. In this example, when a USB
2245+
device 0123:abcd is probed, the driver waits the registration
2246+
until the USB interface 4 gets probed.
2247+
The driver prints a message like "Found post-registration device
2248+
assignment: 1234abcd:04" for such a device, so that user can
2249+
notice the need.
22372250

22382251
This module supports multiple devices, autoprobe and hotplugging.
22392252

0 commit comments

Comments
 (0)