From: Lars Poeschel <poeschel@lemonage.de>
To: Samuel Ortiz <sameo@linux.intel.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.com>, Kees Cook <keescook@chromium.org>,
linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org
Cc: Lars Poeschel <poeschel@lemonage.de>
Subject: [PATCH 3/3] nfc: pn532_uart: Make use of pn532 autopoll
Date: Wed, 17 Oct 2018 12:20:37 +0200 [thread overview]
Message-ID: <20181017102037.28537-3-poeschel@lemonage.de> (raw)
In-Reply-To: <20181017102037.28537-1-poeschel@lemonage.de>
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 --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
next prev parent reply other threads:[~2018-10-17 10:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-17 10:20 [PATCH 1/3] nfc: pn533: add UART phy driver Lars Poeschel
2018-10-17 10:20 ` [PATCH 2/3] nfc: pn533: Add autopoll capability Lars Poeschel
2018-10-17 10:20 ` Lars Poeschel [this message]
2018-10-17 11:53 ` [PATCH 1/3] nfc: pn533: add UART phy driver Greg Kroah-Hartman
2018-10-18 13:03 ` Lars Poeschel
2018-10-17 11:56 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181017102037.28537-3-poeschel@lemonage.de \
--to=poeschel@lemonage.de \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=sameo@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®