]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd4707e3d39bfe69add7c29ba2f537826110e2594
treed3f462e5c3467f77ef894733572afb757c281dcc
parent79da16338a9c6d2365d133e8040acde58ebb75f1
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