ALSA: snd-usb-caiaq: Correct offset fields of outbound iso_frame_desc
[firefly-linux-kernel-4.4.55.git] / sound / usb / endpoint.c
index b0ef9f5018960db6a502170a05e73044864e0c0e..05842c8b067299b65f7fabb2f6b30d581a960264 100644 (file)
@@ -352,7 +352,7 @@ int snd_usb_parse_audio_endpoints(struct snd_usb_audio *chip, int iface_no)
                        continue;
                }
                if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) ||
-                   ((protocol == UAC_VERSION_2) && (fmt->bLength != 6))) {
+                   ((protocol == UAC_VERSION_2) && (fmt->bLength < 6))) {
                        snd_printk(KERN_ERR "%d:%u:%d : invalid UAC_FORMAT_TYPE desc\n",
                                   dev->devnum, iface_no, altno);
                        continue;