]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Only abort a command if one is active
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:30 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:26 +0000 (00:37 +0200)
commit03c7c3e6dceb555d2b20a9406d3b67b4c8dcfc89
tree96159c619acadadc67a2e278655170bdc3fe70b9
parentd070420d17b1abeed10b107f4154b223a02aa468
NFC: trf7970a: Only abort a command if one is active

Only initiate the abort command process when there is an active command.
If the abort process were started and there wasn't an active command
then the next command issued by the digital layer would be incorrectly
aborted.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c