vfs5011: Port driver and add it back into build

There is still a warning where a USB transfer should be cancelled but it
not at this point.
This commit is contained in:
Benjamin Berg
2019-07-04 17:40:06 +02:00
parent f119c273fd
commit 0169fe8cf6
3 changed files with 283 additions and 332 deletions

View File

@@ -7,10 +7,10 @@
enum {
VFS5011_DEFAULT_WAIT_TIMEOUT = 3000,
VFS5011_OUT_ENDPOINT = 1 | LIBUSB_ENDPOINT_OUT,
VFS5011_IN_ENDPOINT_CTRL = 1 | LIBUSB_ENDPOINT_IN,
VFS5011_IN_ENDPOINT_DATA = 2 | LIBUSB_ENDPOINT_IN,
VFS5011_IN_ENDPOINT_CTRL2 = 3 | LIBUSB_ENDPOINT_IN,
VFS5011_OUT_ENDPOINT = 1 | FPI_USB_ENDPOINT_OUT,
VFS5011_IN_ENDPOINT_CTRL = 1 | FPI_USB_ENDPOINT_IN,
VFS5011_IN_ENDPOINT_DATA = 2 | FPI_USB_ENDPOINT_IN,
VFS5011_IN_ENDPOINT_CTRL2 = 3 | FPI_USB_ENDPOINT_IN,
};
enum {