Re: [PATCH] usb: gadget: fsl_udc_core: Fix pullup status

2016-03-25 Thread Dmitry Osipenko
Hello Sergei, 25.03.2016 14:12, Sergei Shtylyov пишет: [snip] udc = container_of(gadget, struct fsl_udc, gadget); +udc->softconnect = (is_on != 0); !!is_on? Parens not needed anyway though. Okay :) I'll change to it in V2 as well as a bit messed up commit message. Thanks fo

Re: [PATCH] usb: gadget: fsl_udc_core: Fix pullup status

2016-03-25 Thread Sergei Shtylyov
Hello. On 3/25/2016 2:14 AM, Dmitry Osipenko wrote: udc->softconnect should be set regardless of the VBUS state, otherwise the USB peripheral device, connected during suspend, won't be detected since can_pullup() would return false the UDC controller won't be enabled. Fixes: 252455c40316 (usb: