diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-11-18 13:09:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-21 05:36:15 -0500 |
commit | 74bccc9b71dc41d37e73fcdbcbec85310a670751 (patch) | |
tree | a87d2ab5995804803d314905260c92310e3d4a33 /drivers/usb/class/cdc-acm.h | |
parent | ba8c931ded8d96c8923662099416bc2096644eab (diff) |
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 <ladis@linux-mips.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
-rw-r--r-- | drivers/usb/class/cdc-acm.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
83 | struct usb_device *dev; /* the corresponding usb device */ | 83 | struct usb_device *dev; /* the corresponding usb device */ |
84 | struct usb_interface *control; /* control interface */ | 84 | struct usb_interface *control; /* control interface */ |
85 | struct usb_interface *data; /* data interface */ | 85 | struct usb_interface *data; /* data interface */ |
86 | unsigned in, out; /* i/o pipes */ | ||
86 | struct tty_port port; /* our tty port data */ | 87 | struct tty_port port; /* our tty port data */ |
87 | struct urb *ctrlurb; /* urbs */ | 88 | struct urb *ctrlurb; /* urbs */ |
88 | u8 *ctrl_buffer; /* buffers of urbs */ | 89 | u8 *ctrl_buffer; /* buffers of urbs */ |