Re: Crash in gs_write_room() in kernel 4.4, and your gs_start_tx() patch

2017-06-29 Thread Baolin Wang
On 29 June 2017 at 07:01, Stephen Warren wrote: > > > Baolin, > > I have a question about the following commit: > > 511a36d2f357 "usb: gadget: Add the gserial port checking in gs_start_tx()" > >> When usb gadget is set gadget serial function, it will be crash in below >> situation. >> >> It will c

Crash in gs_write_room() in kernel 4.4, and your gs_start_tx() patch

2017-06-28 Thread Stephen Warren
Baolin, I have a question about the following commit: 511a36d2f357 "usb: gadget: Add the gserial port checking in gs_start_tx()" When usb gadget is set gadget serial function, it will be crash in below situation. It will clean the 'port->port_usb' pointer in gserial_disconnect() function wh