usb: musb: dsps: return error code if reset fails
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Feb 2015 16:55:13 +0000 (10:55 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:25 +0000 (15:33 -0500)
commitd0cddae7926f39e8fd488f62496cfebf7a5e757d
tree027ef11bbaf77ad6e702a2cfebb76701d1fe7667
parent28378d5ed5ca1221479d2f94c3b346691834822f
usb: musb: dsps: return error code if reset fails

if reset fails, we should return a *negative*
error code, not a positive value.

Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c