]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit82aff3ea3b87892ce1476dad83de211741b3ac00
treee43189a058731d662bbbd4223db6c7edd8d5d50e
parent6f8c53695d6521c36052d39e29ac1e51ef37eba7
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