NFC: nxp-nci: Release firmware when switching to FW mode fails
authorSamuel Ortiz <sameo@linux.intel.com>
Sun, 5 Apr 2015 22:58:51 +0000 (00:58 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 5 Apr 2015 22:58:51 +0000 (00:58 +0200)
commit9421ce10ad87f799263bddad74b91e2166f020a1
tree8809982d98f5ef2490e240e5ad2ff4a992238381
parent2b591257d97550e575f761e83c607d99b0f86899
NFC: nxp-nci: Release firmware when switching to FW mode fails

In that case, the firmware work will never be scheduled, will
never complete and thus the firmware will never be released.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nxp-nci/firmware.c