summaryrefslogtreecommitdiff
path: root/include/usbhost
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2016-01-12 18:22:36 -0800
committerKeun-young Park <keunyoung@google.com>2016-01-13 16:01:42 -0800
commitf6411fa1ecf3a87ce78800660752f57ba9b67836 (patch)
treeabe6314bf798ec55ebfca27a8c8a9d55ca9f88a0 /include/usbhost
parent34965eb1186041639a3e17057d7414c408ddd559 (diff)
libusbhost: add usb_device_reset
bug: 26404209 Change-Id: I8f307d6683afe70fe334746f5be2856b79782493
Diffstat (limited to 'include/usbhost')
-rw-r--r--include/usbhost/usbhost.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/usbhost/usbhost.h b/include/usbhost/usbhost.h
index 4350ec103..88b5b4406 100644
--- a/include/usbhost/usbhost.h
+++ b/include/usbhost/usbhost.h
@@ -219,6 +219,9 @@ int usb_device_bulk_transfer(struct usb_device *device,
int length,
unsigned int timeout);
+/** Reset USB bus for the device */
+int usb_device_reset(struct usb_device *device);
+
/* Creates a new usb_request. */
struct usb_request *usb_request_new(struct usb_device *dev,
const struct usb_endpoint_descriptor *ep_desc);