diff options
Diffstat (limited to 'sound/usb/fcp.c')
-rw-r--r-- | sound/usb/fcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/usb/fcp.c b/sound/usb/fcp.c index 7df65041ace5..98f9964311a7 100644 --- a/sound/usb/fcp.c +++ b/sound/usb/fcp.c @@ -1092,8 +1092,7 @@ static int fcp_find_fc_interface(struct usb_mixer_interface *mixer) epd = get_endpoint(intf->altsetting, 0); private->bInterfaceNumber = desc->bInterfaceNumber; - private->bEndpointAddress = epd->bEndpointAddress & - USB_ENDPOINT_NUMBER_MASK; + private->bEndpointAddress = usb_endpoint_num(epd); private->wMaxPacketSize = le16_to_cpu(epd->wMaxPacketSize); private->bInterval = epd->bInterval; return 0; |