[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181017102037.28537-3-poeschel@lemonage.de>
Date: Wed, 17 Oct 2018 12:20:37 +0200
From: Lars Poeschel <poeschel@...onage.de>
To: Samuel Ortiz <sameo@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
Kees Cook <keescook@...omium.org>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org
Cc: Lars Poeschel <poeschel@...onage.de>
Subject: [PATCH 3/3] nfc: pn532_uart: Make use of pn532 autopoll
This switches the pn532 UART phy driver from manually polling to the new
autopoll mechanism.
Signed-off-by: Lars Poeschel <poeschel@...onage.de>
---
drivers/nfc/pn533/uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/nfc/pn533/uart.c b/drivers/nfc/pn533/uart.c
index b5f995988cae..3316298e31a7 100644
--- a/drivers/nfc/pn533/uart.c
+++ b/drivers/nfc/pn533/uart.c
@@ -162,7 +162,7 @@ static int pn532_open(struct tty_struct *tty)
if (pn532->wq_open_tty == NULL)
goto err_skb;
- priv = pn533_register_device(PN533_DEVICE_PN532,
+ priv = pn533_register_device(PN533_DEVICE_PN532_AUTOPOLL,
PN533_NO_TYPE_B_PROTOCOLS,
PN533_PROTO_REQ_ACK_RESP,
pn532, &uart_phy_ops, NULL,
--
2.19.1
Powered by blists - more mailing lists