[PATCH] USB: ftdi_sio - fix memory leak and tidy up write bulk callback
The patch frees the bulk write urb's transfer buffer in the write bulk callback (the buffer is allocated dynamically when the urb is submitted). The patch also tidies up the write bulk callback function a little bit - removing some unnecessary paranoid checks and scheduling a soft interrupt regardless of the port's open count (for consistency with other usb serial drivers).
Showing
Please register or sign in to comment