]> 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)
commit367d0e69926e21b758f8fc6b18112c90a2aace24
treee43189a058731d662bbbd4223db6c7edd8d5d50e
parent63dbeed447b3f777e6c8196eecdd855ca6deb5d4
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