Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp480178imm; Wed, 17 Oct 2018 03:29:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61NXtWvd3/HQIUAcifFNwc6s+1TPZJuiieLUn+xX5jkh/Vk62HqOtNqCF2duRwmwE+1iwiZ X-Received: by 2002:a62:9c8c:: with SMTP id u12-v6mr25756347pfk.162.1539772158434; Wed, 17 Oct 2018 03:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539772158; cv=none; d=google.com; s=arc-20160816; b=NNDtUeF+1GarKTAE1Qa7UIAPs1YYzCteKRqFg4mDuzO3/VpmiKG9IO0f4L5OrVlJZv gV+TNq4Fyqqu+Ppe903sCu0IZqiXdcMvfdeBdRpK2rLhhkA9mnHK5IftxmDMpPLTN0XI Dc9qp4N6SDW9tACDbN5EfAKS1L/YYvAx0c35GuCpgxywIWItysGG9C9UFeTD9k72Us4g IOrrqHgITj1DNyrPwRMuRFpjw2z17qbeAdMrNObXrjkX3C16PeahOlVNJscqV+56k2F0 jO0TFJ80xae0HJ9R06/K0WK60OdPBgIgTVldvcDhCI7A4w9tDxvuwhmI8CjU40Mn+9Ot Jg8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=n1uri+mQ+4wdL8FtpRizG9cprsIUwSqe+QvteSJRDc4=; b=0F78wP8O797k7JzxaMbnCbzDHEmUAbh2yyaOORd7RyO0QvSNtiUCi1OzkiOhSlT6PI h4KA2zJdaxDWwsI2yu2asJxS1Ck+Uv7VtiMBBjqqH2r6iK3T7QBi0ulNk1+UjowCGLq0 EXIjxeAyKciO5or+WjAMHiaW1k1JLqVCttVWr8hv1YIO0aThzw+W2kQs0J/0C2whVDgO bM2TngQXERo3oyhvXLYlMIYgbkaMcZm5QXJTwFG+rJ1kO9U+erfiIyjSCc8gjQO/j4ip 7WVHu64CwSCvy0z3Qj6hrGG2cfnRkVstnO44Dq6tlyVge9qTk6YkUEDTUw84WuQpAJd5 Zmkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2-v6si15941304pfn.26.2018.10.17.03.29.02; Wed, 17 Oct 2018 03:29:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727048AbeJQSVm (ORCPT + 99 others); Wed, 17 Oct 2018 14:21:42 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:59086 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbeJQSVm (ORCPT ); Wed, 17 Oct 2018 14:21:42 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id 267A1242620; Wed, 17 Oct 2018 12:21:12 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.254 X-Spam-Level: X-Spam-Status: No, score=-3.254 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.354, BAYES_00=-1.9] autolearn=ham Received: from smtp2.goneo.de ([127.0.0.1]) by localhost (smtp2.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D3dHdPAr8dOB; Wed, 17 Oct 2018 12:21:11 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp2.goneo.de (Postfix) with ESMTPSA id 1AB4223F65C; Wed, 17 Oct 2018 12:21:11 +0200 (CEST) From: Lars Poeschel To: Samuel Ortiz , Greg Kroah-Hartman , Jiri Slaby , Kees Cook , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Cc: Lars Poeschel Subject: [PATCH 3/3] nfc: pn532_uart: Make use of pn532 autopoll Date: Wed, 17 Oct 2018 12:20:37 +0200 Message-Id: <20181017102037.28537-3-poeschel@lemonage.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181017102037.28537-1-poeschel@lemonage.de> References: <20181017102037.28537-1-poeschel@lemonage.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This switches the pn532 UART phy driver from manually polling to the new autopoll mechanism. Signed-off-by: Lars Poeschel --- 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