USB: mxu11x0: fix memory leak on firmware download
Make sure to release the private data before returning -ENODEV after
having downloaded the firmware during first probe.
Clean up the error paths while at it.
Signed-off-by:
Johan Hovold <johan@kernel.org>
Loading
Please register or sign in to comment