Commit 45aea704 authored by Luiz Fernando N. Capitulino's avatar Luiz Fernando N. Capitulino Committed by Greg Kroah-Hartman
Browse files

USB: cdc-acm: Use usb_endpoint_* functions

Signed-off-by: default avatarLuiz Fernando N. Capitulino <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent b333d5bf
......@@ -892,7 +892,7 @@ skip_normal_probe:
/* workaround for switched endpoints */
if ((epread->bEndpointAddress & USB_DIR_IN) != USB_DIR_IN) {
if (!usb_endpoint_dir_in(epread)) {
/* descriptors are swapped */
struct usb_endpoint_descriptor *t;
dev_dbg(&intf->dev,"The data interface has switched endpoints");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment