diff options
-rw-r--r-- | drivers/usb/musb/musb_dsps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index a900c9877195..af614f49cd98 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c | |||
@@ -652,7 +652,7 @@ static int dsps_musb_reset(struct musb *musb) | |||
652 | session_restart = 1; | 652 | session_restart = 1; |
653 | } | 653 | } |
654 | 654 | ||
655 | return !session_restart; | 655 | return session_restart ? 0 : -EPIPE; |
656 | } | 656 | } |
657 | 657 | ||
658 | static struct musb_platform_ops dsps_ops = { | 658 | static struct musb_platform_ops dsps_ops = { |