ezusb: Use libusb error names instead of return code
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 4 Dec 2012 19:44:25 +0000 (13:44 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 4 Dec 2012 19:44:25 +0000 (13:44 -0600)
commit1b02bc5b3a439cd171b032ea947aa76f40b96437
treeb18a34afb889b65234f01c4e30c459c1eb079986
parentd458a0ac290c4be4cad19c22e143748a5ddff0e6
ezusb: Use libusb error names instead of return code

Use libusb_error_name() to print out what went wrong instead of printing
out the return code.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
hardware/common/ezusb.c