Commit e69f7a67 authored by Johan Hovold's avatar Johan Hovold
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
parent 924eccc7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment