From 74bccc9b71dc41d37e73fcdbcbec85310a670751 Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Fri, 18 Nov 2016 19:09:19 +0100 Subject: cdc-acm: store in and out pipes in acm structure Clearing stall needs pipe descriptor, store it in acm structure. Signed-off-by: Ladislav Michl Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- drivers/usb/class/cdc-acm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb/class/cdc-acm.h') diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index 1f1eabfd8462..58ddd2509c5b 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h @@ -83,6 +83,7 @@ struct acm { struct usb_device *dev; /* the corresponding usb device */ struct usb_interface *control; /* control interface */ struct usb_interface *data; /* data interface */ + unsigned in, out; /* i/o pipes */ struct tty_port port; /* our tty port data */ struct urb *ctrlurb; /* urbs */ u8 *ctrl_buffer; /* buffers of urbs */ -- cgit v1.2.3