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: NJohan Hovold <johan@kernel.org>
Showing
想要评论请 注册 或 登录