ALSA: usb-audio: Add delayed_register option
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Mar 2020 10:33:20 +0000 (11:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Mar 2020 09:47:39 +0000 (10:47 +0100)
commitb70038ef4feae9c5c9d01de4cd799ae52ccafc08
treefd25d22b634b3721b738e14a36e93ddf3cd3b36b
parentd8695bc5b1fe88305396b1f788d3b5f218e28a30
ALSA: usb-audio: Add delayed_register option

Add a new option for specifying the quirk for delayed registration of
the certain device.  A list of devices can be passed in a form
ID:IFACE,ID:IFACE,ID:IFACE,....
where ID is the 32bit hex number combo of vendor and device IDs and
IFACE is the interface number to trigger the register.

When a matching device is probed, the card registration is delayed
until the given interface is probed.  It's needed for syncing the
registration until the last interface when multiple interfaces are
provided for the same card.

Link: https://lore.kernel.org/r/20200325103322.2508-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c