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)
commitc64b875fe1e1f6b30e3a15cb74d623349c571001
tree56dc04ddb3ad00f489b744f508cbc396035f3731
parentc656aa4c27b17a8c70da223ed5ab42145800d6b5
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