Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp678812imu; Fri, 11 Jan 2019 07:15:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN7pPxdrApYxHhJfhwWHBDvh0vG4mlut1j3jokBepC0V5ym7WoKh7FhqpnLNY4i1fJJeV0Ws X-Received: by 2002:a63:193:: with SMTP id 141mr13822935pgb.136.1547219701250; Fri, 11 Jan 2019 07:15:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547219701; cv=none; d=google.com; s=arc-20160816; b=XY2l55RxaLfASeKgQkLJHPLs5ieWrudy+ZId52wHo/Nyk9K+hNL0vOrLXSAbJZugDT OIjJTXu8dxDKxuWD35ghuYgonJkaMDlvCW6fo0louQN8bubBHAlW4Ho2yUWEBK7DiUU5 ee/GIYZq9c1RrPrWfOaQlxeEAi8yvIHoE7VtM4bqY+heYYWMjbAhA1u+2LZadwzDQqEZ ec1bHLE7iZdMiJqwUGwQu7e+Cz/BJ2jJ1ew4KNTv3WBukUfLucAalN35Q9uXJZgSfAk7 5vz7/FE7pMrQNxVx6Ch7jSgvV+aCGwZKu798y3axd5herriI5YDwjWytBO4dM4iMezpV jpLA== 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=usif1pn1LsFTbCXh2m5qkzwv9bq1/gbNWUW6cuyqAig=; b=M0laj7E1BEgMyY92bRr1aB2xS+jFZTwiLG25udJnLIumS1gzZMzXUut5vBNnThMq5Y lh4LIdYitmN8RJXiVK76r7gcd/d4sCdPmHrJ7duBH9BWmxTO4d2CP5CmjXgilXIaYCzU alTyAC9jWb81g9olKwuKkwSxF8bGlsSMwHrhbaIghaBGMKcR+5Y7VnKL+zxTZ/Ui5nJM ftxR56gUb0R82kw5WN4EEKDVhRsuyFPUm3koleJ4+7Jxm8fDCPPBenvSg8WVYSjBmUnL WjVfUiBx5ujbcQCsa/FTLfRcLnM/jqLrCovYobMBtsQVjxlsn9KPNXrGTv8AKLAYswky w1ZQ== 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 87si19338452pfs.7.2019.01.11.07.14.45; Fri, 11 Jan 2019 07:15:01 -0800 (PST) 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 S2392075AbfAKPNH (ORCPT + 99 others); Fri, 11 Jan 2019 10:13:07 -0500 Received: from smtp3.goneo.de ([85.220.129.37]:49352 "EHLO smtp3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387588AbfAKPNG (ORCPT ); Fri, 11 Jan 2019 10:13:06 -0500 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 9669C23FB7C; Fri, 11 Jan 2019 16:13:03 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.068 X-Spam-Level: X-Spam-Status: No, score=-3.068 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.168, BAYES_00=-1.9] autolearn=ham Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YDxrSeopG9zk; Fri, 11 Jan 2019 16:13:02 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 8D25B23F344; Fri, 11 Jan 2019 16:13:02 +0100 (CET) From: Lars Poeschel To: devicetree@vger.kernel.org, Samuel Ortiz , "GitAuthor: Lars Poeschel" , linux-wireless@vger.kernel.org (open list:NFC SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Johan Hovold Subject: [PATCH v5 7/7] nfc: pn532_uart: Make use of pn532 autopoll Date: Fri, 11 Jan 2019 17:18:10 +0100 Message-Id: <20190111161812.26325-7-poeschel@lemonage.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190111161812.26325-1-poeschel@lemonage.de> References: <20190111161812.26325-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 --- 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 78ef464bfa7b..2f0fcc6d964a 100644 --- a/drivers/nfc/pn533/uart.c +++ b/drivers/nfc/pn533/uart.c @@ -254,7 +254,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.20.1