commit | 5fb437984b6c4793626be3936297fecece987a9f | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Mon Nov 23 17:24:32 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 22:53:40 2016 -0800 |
tree | 4b62d02e635409ed584b6a3875cc6814801629fa | |
parent | fbaa72d56424553f0aa434d8816a0da7a9071415 [diff] |
misc: mic: use common error path Instead of calling release_firmware() on every error and then jumping lets have a common release_firmware() in the error path. This patch also fixes a memory leak where we missed release_firmware() if mic_x100_load_command_line() fails. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>