NFC: trf7970a: Cancel timer when error encountered
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 2 Sep 2014 22:12:43 +0000 (15:12 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Sep 2014 21:13:45 +0000 (23:13 +0200)
commit6fb9edcb43d0b1bf0ac2aaf6ba488d105c45f477
treed3f462e5c3467f77ef894733572afb757c281dcc
parent851ee3cbf850501104e76683e439a4061f378a96
NFC: trf7970a: Cancel timer when error encountered

Some paths leave a timer still running when
trf7970a_send_err_upstream() is called.  This
can cause a timeout to occur in a subsequent
transaction making it fail.  Fix this by ensuring
there is no timer running before sending an error
upstream.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c
This page took 0.024509 seconds and 5 git commands to generate.