Re: 4.14 dwc3 gadget mode WARNING on unplug

2017-11-30 Thread Felipe Balbi
Hi, Vincent Pelletier writes: > On Tue, 28 Nov 2017 16:31:48 +, Vincent Pelletier > wrote: >> [ 81.326172] dwc3_send_gadget_ep_cmd -> -110 > > I increased "timeout" to 1000 and added this line: > printk( >

Re: 4.14 dwc3 gadget mode WARNING on unplug

2017-11-29 Thread Vincent Pelletier
On Tue, 28 Nov 2017 16:31:48 +, Vincent Pelletier wrote: > [ 81.326172] dwc3_send_gadget_ep_cmd -> -110 I increased "timeout" to 1000 and added this line: printk( "dwc3_send_gadget_ep_cmd(cmd=%i, params={%i, %i, %i}) iterated %i times", cmd,

4.14 dwc3 gadget mode WARNING on unplug

2017-11-28 Thread Vincent Pelletier
Hello, Now that "unplugging" the userland process does not kill the kernel, I tried unplugging the cable in the same starting conditions (two submitted AIO read transfers, host having enabled the device, but no data transfer actually happening). And I got below WARNING. Sadly, the error goes