USB gadget: dfu: propagate error from usb_gadget_poll
So that the dfu command can bail out with an error when usb_gadget_poll
fails.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 771109d commit 1e6db288d986ff4b92d02dab990339eb48f866ca
@Sascha Hauer Sascha Hauer authored on 13 Feb 2014
Showing 1 changed file
View
drivers/usb/gadget/dfu.c