openocd/src/jtag
Antonio Borneo 1b8091d253 libusb0: return oocd error values
Commit d1b7437633 fixes libusb1 to
return OpenOCD error values instead of negative errors in Linux
kernel's style.
The same fix should be applied to libusb0 too.

Fix return value of libusb0 to uniform it to OpenOCD style.

Change-Id: I68478c29c91c6be720074f58c432fe51477e03ed
Fixes: d1b7437633 ("libusb: return oocd error values")
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4698
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2019-01-08 10:01:48 +00:00
..
aice libusb0: add compatibility define for transfer type bulk 2018-12-11 13:29:21 +00:00
drivers libusb0: return oocd error values 2019-01-08 10:01:48 +00:00
hla target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
minidriver Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidummy Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
zy1000 zy1000: fix compile error with gcc 8.1.1 2018-08-01 14:32:03 +01:00
adapter.c jtag: adapter: fix indentation in handle_interface_command 2018-04-17 08:29:49 +01:00
commands.c jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
commands.h jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
core.c target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interface.h target/armv7m_trace: Fix typo in enum 2018-07-19 10:48:58 +01:00
interfaces.c jtag/drivers: Add support for TI XDS110 debug probe 2018-05-31 13:25:16 +01:00
interfaces.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jtag.h target: restructure dap support 2018-03-30 09:58:21 +01:00
Makefile.am jtag: make cmd_queue_scan_field_clone public 2018-10-16 11:58:17 +01:00
minidriver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
swd.h transport: add transport_is_hla() 2018-03-20 11:48:44 +00:00
tcl.c transport: add transport_is_hla() 2018-03-20 11:48:44 +00:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00