]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: nfcmrvl: avoid being stuck on FW dnld timeout
authorVincent Cuissard <cuissard@marvell.com>
Tue, 3 Nov 2015 18:19:36 +0000 (19:19 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 4 Nov 2015 23:32:25 +0000 (00:32 +0100)
commitaa5e37333a8bfcf461c15daafd486ca01e219147
treee43189a058731d662bbbd4223db6c7edd8d5d50e
parentef0dbba9cf270218d12b72c17995ad3c0467c300
NFC: nfcmrvl: avoid being stuck on FW dnld timeout

FW Download procedure can block on del_timer_sync because the
timer is not running. This patch check that timer is scheduled
before cancelling it.

Signed-off-by: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcmrvl/fw_dnld.c