summaryrefslogtreecommitdiff
path: root/drivers/usb/musb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_dsps.c2
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)
session_restart = 1;
}
- return !session_restart;
+ return session_restart ? 0 : -EPIPE;
}
static struct musb_platform_ops dsps_ops = {