]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: usb-audio: Increase delay in MOTU M quirk
authorJeremie Knuesel <knuesel@gmail.com>
Sun, 17 Dec 2023 11:22:43 +0000 (12:22 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2024 14:13:33 +0000 (15:13 +0100)
commit 48d6b91798a6694fdd6edb62799754b9d3fe0792 upstream.

Increase the quirk delay from 2 seconds to 4 seconds. This reflects a
change in the Windows driver in which the delay was increased to about
3.7 seconds. The larger delay fixes an issue where the device fails to
work unless it was powered up early during boot.

Also clarify in the quirk comment that the quirk is only applied to
older devices (USB ID 07fd:0008).

Signed-off-by: Jeremie Knuesel <knuesel@gmail.com>
Suggested-by: Alexander Tsoy <alexander@tsoy.me>
Cc: <stable@vger.kernel.org>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=211975
Link: https://lore.kernel.org/r/20231217112243.33409-1-knuesel@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/quirks.c

index 6d87f58d1b0057bba1d6ddbbe0ecbdb98b682bff..9cdf0e05cf49b96a2c13c1463ac0681bb7a48ccd 100644 (file)
@@ -1125,7 +1125,7 @@ free_buf:
 
 static int snd_usb_motu_m_series_boot_quirk(struct usb_device *dev)
 {
-       msleep(2000);
+       msleep(4000);
 
        return 0;
 }
@@ -1364,7 +1364,7 @@ int snd_usb_apply_boot_quirk_once(struct usb_device *dev,
                                  unsigned int id)
 {
        switch (id) {
-       case USB_ID(0x07fd, 0x0008): /* MOTU M Series */
+       case USB_ID(0x07fd, 0x0008): /* MOTU M Series, 1st hardware version */
                return snd_usb_motu_m_series_boot_quirk(dev);
        }