Skip to content

Commit 0959f22

Browse files
zonquetiwai
authored andcommitted
ALSA: snd-usb: add delay quirk for "Playback Design" products
"Playback Design" products need a 50ms delay after setting the USB interface. Signed-off-by: Daniel Mack <zonque@gmail.com> Reported-by: Andreas Koch <andreas@akdesigninc.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 717bfb5 commit 0959f22

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎sound/usb/pcm.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,13 @@ static int set_format(struct snd_usb_substream *subs, struct audioformat *fmt)
350350
fmt->iface, fmt->altsetting);
351351
subs->interface = fmt->iface;
352352
subs->altset_idx = fmt->altset_idx;
353+
354+
/*
355+
* "Playback Design" products need a 50ms delay after setting the
356+
* USB interface.
357+
*/
358+
if (le16_to_cpu(dev->descriptor.idVendor) == 0x23ba)
359+
mdelay(50);
353360
}
354361

355362
subs->data_endpoint = snd_usb_add_endpoint(subs->stream->chip,

0 commit comments

Comments
 (0)