Changes in v2: - Renamed "char *dev" to "char *dev_arg", to make it clearer that we're working on the device argument. Use strspn(dev_arg,...) instead of strspn(argv[1],...)
Changes in v3: - Protect against segfault when trying to access non-existant argv[2] - Moved "handle == NULL" error handler from main() to request_libusb_handle() - Add missing "Signed-off-by:" Changes in v4: - Reworked commit message - Handle possible libusb errors more consistently - Be more strict on parsing "bus:devnum" device specifier - Fixed various style issues Changes in v5: - Renamed libusb_open_device() to open_fel_device(), otherwise unsuspecting readers might mistake it for a libusb library routine. - Declare the 'magic' Allwinner FEL VID/PID constants near the top of file. Bernhard Nortmann (1): fel: support selection of specific USB bus and device number fel.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 103 insertions(+), 26 deletions(-) -- 2.4.10 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
