Re: [PATCH] usb: gadget: pxa27x: fix suspend callback

2015-11-19 Thread Robert Jarzmik
Felipe Balbi writes: > pxa27x disconnects pullups on suspend but doesn't > notify the gadget driver about it, so gadget driver > can't disable the endpoints it was using. > > This causes problems on resume because gadget core > will think endpoints are still enabled and just > ignore the followin

[PATCH] usb: gadget: pxa27x: fix suspend callback

2015-11-19 Thread Felipe Balbi
pxa27x disconnects pullups on suspend but doesn't notify the gadget driver about it, so gadget driver can't disable the endpoints it was using. This causes problems on resume because gadget core will think endpoints are still enabled and just ignore the following usb_ep_enable(). Fix this problem

Re: [PATCH] usb: gadget: pxa27x: fix suspend callback

2015-11-19 Thread Felipe Balbi
Hi, Robert Jarzmik writes: > Felipe Balbi writes: > >> pxa27x disconnects pullups on suspend but doesn't >> notify the gadget driver about it, so gadget driver >> can't disable the endpoints it was using. >> >> This causes problems on resume because gadget core >> will think endpoints are still

Re: [PATCH] usb: gadget: pxa27x: fix suspend callback

2015-11-19 Thread Robert Jarzmik
Felipe Balbi writes: > pxa27x disconnects pullups on suspend but doesn't > notify the gadget driver about it, so gadget driver > can't disable the endpoints it was using. > > This causes problems on resume because gadget core > will think endpoints are still enabled and just > ignore the followin

[PATCH] usb: gadget: pxa27x: fix suspend callback

2015-11-19 Thread Felipe Balbi
pxa27x disconnects pullups on suspend but doesn't notify the gadget driver about it, so gadget driver can't disable the endpoints it was using. This causes problems on resume because gadget core will think endpoints are still enabled and just ignore the following usb_ep_enable(). Fix this problem