diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-11-18 19:09:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-21 11:36:15 +0100 |
commit | 74bccc9b71dc41d37e73fcdbcbec85310a670751 (patch) | |
tree | a87d2ab5995804803d314905260c92310e3d4a33 /drivers/usb/class/cdc-acm.h | |
parent | cdc-acm: refactor killing urbs (diff) | |
download | linux-74bccc9b71dc41d37e73fcdbcbec85310a670751.tar.xz linux-74bccc9b71dc41d37e73fcdbcbec85310a670751.zip |
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 { 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 */ |