usb: Forward error code from usb_set_configuration
Instead of returning -1 forward the error code and take the opportunity
to print the error string.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 1d0b3c8 commit 107369f2e7055e4878d90e5ea6c1487257abf207
@Sascha Hauer Sascha Hauer authored on 19 Dec 2019
Showing 1 changed file
View
drivers/usb/core/usb.c