]> git.sur5r.net Git - u-boot/commit
usb: usb_control_msg() propagate controller error code
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 May 2015 12:10:14 +0000 (14:10 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:30 +0000 (18:49 -0600)
commit651d95c8eb987034c95f1966556fbc55727a87b3
treee6916c0233377beee9751a5eacff9b634da599a9
parent71b945267d3e412efe4540a9ee61886f5e1e1e4a
usb: usb_control_msg() propagate controller error code

Propagate the error returned by submit_control_msg() rather then always
returning -EIO when the hcd code indicates an error.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
common/usb.c