diff options
Diffstat (limited to 'libusbhost/usbhost.c')
-rw-r--r-- | libusbhost/usbhost.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libusbhost/usbhost.c b/libusbhost/usbhost.c index b8e32154f..299fdc475 100644 --- a/libusbhost/usbhost.c +++ b/libusbhost/usbhost.c @@ -617,6 +617,11 @@ int usb_device_bulk_transfer(struct usb_device *device, return ioctl(device->fd, USBDEVFS_BULK, &ctrl); } +int usb_device_reset(struct usb_device *device) +{ + return ioctl(device->fd, USBDEVFS_RESET); +} + struct usb_request *usb_request_new(struct usb_device *dev, const struct usb_endpoint_descriptor *ep_desc) { |