greybus: es1-ap-usb: don't protest when getting -EPROTO USB errors
authorGreg Kroah-Hartman <greg@kroah.com>
Fri, 12 Dec 2014 22:10:18 +0000 (17:10 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Sat, 13 Dec 2014 18:35:33 +0000 (13:35 -0500)
commitf9b1df64a9f98e9c2fe38bec86b11740743e3661
tree3f9ce5c6aeb8e1dd735db83356bc3a9c79fbfc5c
parent3bdec69931d889f2ee5dccafbc8cee6a364bb249
greybus: es1-ap-usb: don't protest when getting -EPROTO USB errors

-EPROTO happens when devices are starting to go away in a system, or
there is something wrong on the USB connection.  Either way, it's safe
to resubmit the urb for this error, don't complain to userspace about
this, as the user will see this for every device removed, which looks
scary, but means nothing.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/es1-ap-usb.c