summaryrefslogtreecommitdiff
path: root/sound/usb/fcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/usb/fcp.c')
-rw-r--r--sound/usb/fcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/usb/fcp.c b/sound/usb/fcp.c
index 11e9a96b46ff..6eab5cd0cd35 100644
--- a/sound/usb/fcp.c
+++ b/sound/usb/fcp.c
@@ -1083,6 +1083,8 @@ static int fcp_find_fc_interface(struct usb_mixer_interface *mixer)
if (desc->bInterfaceClass != 255)
continue;
+ if (desc->bNumEndpoints < 1)
+ continue;
epd = get_endpoint(intf->altsetting, 0);
private->bInterfaceNumber = desc->bInterfaceNumber;