We add lock and check in fw_dnld_over() in order to synchronize
among different threads that call fw_dnld_over(). The first patch
fixes double free bugs caused by fw_dnld_over() and the second patch
fixes double free bug in nfc_fw_download_done().
Duoming Zhou (2):
drivers: nfc: nfcmrvl: fix double free bugs caused by fw_dnld_over()
drivers: nfc: nfcmrvl: fix double free bug in nfc_fw_download_done()
drivers/nfc/nfcmrvl/fw_dnld.c | 8 +++++++-
drivers/nfc/nfcmrvl/fw_dnld.h | 2 ++
2 files changed, 9 insertions(+), 1 deletion(-)
--
2.17.1