]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: pn533: Add autopoll capability
authorLars Poeschel <poeschel@lemonage.de>
Tue, 29 Oct 2019 14:47:43 +0000 (15:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Oct 2019 04:05:26 +0000 (21:05 -0700)
commitaa615c462a1184ef81b2909dc34db338b62be109
tree56dc04ddb3ad00f489b744f508cbc396035f3731
parentfa90af68481de3fabb9031f116b28cd91a6b19fb
nfc: pn533: Add autopoll capability

pn532 devices support an autopoll command, that lets the chip
automatically poll for selected nfc technologies instead of manually
looping through every single nfc technology the user is interested in.
This is faster and less cpu and bus intensive than manually polling.
This adds this autopoll capability to the pn533 driver.

Cc: Johan Hovold <johan@kernel.org>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/pn533/pn533.c
drivers/nfc/pn533/pn533.h