]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: pn533: Add pn533_abort_cmd procedure
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Wed, 3 Apr 2013 06:02:14 +0000 (08:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 14:29:07 +0000 (16:29 +0200)
commit053916ae0f3b026d89aaa84ddf5510c350019ad7
treecfddbafe49babf3c6633e369054a62612ca35851
parentf67a5a468a1ee921766d7a436047d00c9324d169
NFC: pn533: Add pn533_abort_cmd procedure

pn533_abort_cmd() aborts last command sent to the controller
and cancels already requested urb.

As ACR122U does not support any mechanism (as ACK for standard
PN533) which aborts last command this cannot be issued for this
device. Otherwise, acr122u will behave in an unstable way.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c