]> git.karo-electronics.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:38 +0000 (22:39 +0200)
commitebdb559688ab7d6412401d2b702c8160a79095e6
tree2bbbf9261acff15fa67dacbf5c87a766c39d51a9
parentd6b8cf62b09ecb0d1c00fba08654e1c39d1518b1
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