Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4809317ybg; Tue, 29 Oct 2019 12:43:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFM4f7lv1K+5Y53gj6R9PEzVEZmstOCz+MTu3ONh2hAdne9RRIS6+yEWkbgYtw1pCYS9gm X-Received: by 2002:a17:906:6451:: with SMTP id l17mr5070501ejn.114.1572378203869; Tue, 29 Oct 2019 12:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572378203; cv=none; d=google.com; s=arc-20160816; b=FLiCE1rULy2vCDjork+k65VKDNH5at4RFmLfW4r8r+36Jp8vkm99hyO0DzTiqaNSwa NYR58D4/emtJerENi539ZUOL6aW5zAfQyNrW2EwXXfGjZ+jxhkARyf+PsvKDUxLzhpK5 tCUVaeT1EUI9VmI7vJ5NVXULWn9qcrRQ9B/JSb6RMa7zAEeLZ2iP5ZVKhVy0JhVngxs4 Z43tAyC0ozNfwW/bQHdpXDPmkFqjL+3cFz62XI8YCGgrjafEp5OFSKl1Ob+9x9K59zrd wWMHCMwXU6KmeDHKsRRk9HX3Jximjye48+5sDgLSI9D1ciD88K540YAJ7G9B2qSJhcZX Pz5A== 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=6m5YU5bMk88hdrnXGuB70d7ZsYWpCI935278C0GyOyk=; b=wauZedbsiIVvNoMG5/dU8zbWKj3+tIYUyOAUOu8zkApply5RTKy6DKIsVoFpEoSuJe KfQIFmq6VU5SaSuw8nIXsgQTN1IqigLNnPNHqcMnen0UrkdOyEK5N3qtC78ygv7mMWnW Asr8if2txHMfgv7EZ55l27ejY3f1VFKbANT5EePXYZOt36bMOTdpycahs3gCyrCaJ8/e c3YrgR+BqFxAgKUUiaE89doiAu2Ix0CjbwlMJOM9hihIpMJ6qmrlGgfHiVQkReqgWlY5 /Gh0Z0u3UJSOqshXNezr/sJmnrIokHLVMil0anVI4xnMENHWm7rZ9v6kHYLT6QGtvUNe 3pTA== 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 i31si10529069eda.147.2019.10.29.12.43.00; Tue, 29 Oct 2019 12:43:23 -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 S2389721AbfJ2OsO (ORCPT + 99 others); Tue, 29 Oct 2019 10:48:14 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:53372 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389510AbfJ2OsN (ORCPT ); Tue, 29 Oct 2019 10:48:13 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id A4B8C23F4EC; Tue, 29 Oct 2019 15:48:11 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.075 X-Spam-Level: X-Spam-Status: No, score=-3.075 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.175, 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 7rlY4Dt-30TH; Tue, 29 Oct 2019 15:48:10 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp2.goneo.de (Postfix) with ESMTPA id 9761523F5D1; Tue, 29 Oct 2019 15:48:10 +0100 (CET) From: Lars Poeschel To: Lars Poeschel , netdev@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold Subject: [PATCH v11 7/7] nfc: pn532_uart: Make use of pn532 autopoll Date: Tue, 29 Oct 2019 15:48:02 +0100 Message-Id: <20191029144805.18439-1-poeschel@lemonage.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191029144320.17718-1-poeschel@lemonage.de> References: <20191029144320.17718-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. Cc: Johan Hovold Signed-off-by: Lars Poeschel --- Changes in v10: - Rebased the patch series on net-next 'Commit 503a64635d5e ("Merge branch 'DPAA-Ethernet-changes'")' Changes in v9: - Rebased the patch series on v5.4-rc2 Changes in v6: - Rebased the patch series on v5.3-rc5 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 1e35bf09faf2..46e5ff16f699 100644 --- a/drivers/nfc/pn533/uart.c +++ b/drivers/nfc/pn533/uart.c @@ -261,7 +261,7 @@ static int pn532_uart_probe(struct serdev_device *serdev) serdev_device_set_flow_control(serdev, false); pn532->send_wakeup = PN532_SEND_WAKEUP; timer_setup(&pn532->cmd_timeout, pn532_cmd_timeout, 0); - priv = pn53x_common_init(PN533_DEVICE_PN532, + priv = pn53x_common_init(PN533_DEVICE_PN532_AUTOPOLL, PN533_PROTO_REQ_ACK_RESP, pn532, &uart_phy_ops, NULL, &pn532->serdev->dev); -- 2.23.0