[v2,4/4] nfc: pn532_uart: Make use of pn532 autopoll
diff mbox series

Message ID 20181018144251.30028-4-poeschel@lemonage.de
State Superseded
Delegated to: Samuel Ortiz
Headers show
  • [v2,1/4] nfc: pn533: add UART phy driver
Related show

Commit Message

Lars Poeschel Oct. 18, 2018, 2:42 p.m. UTC
This switches the pn532 UART phy driver from manually polling to the new
autopoll mechanism.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
 drivers/nfc/pn533/uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/drivers/nfc/pn533/uart.c b/drivers/nfc/pn533/uart.c
index 8fd71c8953ca..a95ca01745ca 100644
--- a/drivers/nfc/pn533/uart.c
+++ b/drivers/nfc/pn533/uart.c
@@ -207,7 +207,7 @@  static int pn532_uart_probe(struct serdev_device *serdev)
 		goto err_free;
 	pn532->serdev = serdev;
-	priv = pn533_register_device(PN533_DEVICE_PN532,
+	priv = pn533_register_device(PN533_DEVICE_PN532_AUTOPOLL,
 				     pn532, &uart_phy_ops, NULL,