]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit10cff29af6ae12725d4cb338abb5768e139b808a
treecfddbafe49babf3c6633e369054a62612ca35851
parent53cf48399ad3b08c9115b4fce73dee0b6e726c91
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