• Ian Abbott's avatar
    [PATCH] USB: ftdi_sio - fix memory leak and tidy up write bulk callback · 0a270511
    Ian Abbott authored
    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).
    0a270511
ftdi_sio.c 68.9 KB