From: Clemens Ladisch Date: Mon, 4 Jul 2005 07:18:46 +0000 (+0200) Subject: [ALSA] usb-audio - enable high speed transfers with Audiy 2 NX X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1c6ef52e2623c81c2124801c783a903f6e5437a;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [ALSA] usb-audio - enable high speed transfers with Audiy 2 NX USB generic driver This patch enables the boot commands to activate high speed mode (and associated sample formats like 8 channels with 24 bits at 96 kHz) on the SB Audigy 2 NX. Signed-off-by: Clemens Ladisch --- diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index c57b44511b5..aee3c0f28eb 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c @@ -2938,8 +2938,6 @@ static int snd_usb_extigy_boot_quirk(struct usb_device *dev, struct usb_interfac static int snd_usb_audigy2nx_boot_quirk(struct usb_device *dev) { -#if 0 - /* TODO: enable this when high speed synchronization actually works */ u8 buf = 1; snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), 0x2a, @@ -2951,7 +2949,6 @@ static int snd_usb_audigy2nx_boot_quirk(struct usb_device *dev) 1, 2000, NULL, 0, 1000); return -ENODEV; } -#endif return 0; }