Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp630523imd; Thu, 1 Nov 2018 03:04:37 -0700 (PDT) X-Google-Smtp-Source: AJdET5eUTYxjWcik8OAgDICnk2qB+lUh7HWqAA/mAxlG7ZC6BMxYbisSiKWcgNYxxm53dKW/r8NB X-Received: by 2002:a63:588:: with SMTP id 130mr6529536pgf.273.1541066677624; Thu, 01 Nov 2018 03:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541066677; cv=none; d=google.com; s=arc-20160816; b=ZUq+zBFNC+XcDaBk2IyZpMA20B30VxtkNle6S0ls9jh5J9S9lWCrSm6mVquLMawqg8 8VZ60gUqbAmNfIWwwDeNM0hA8D+up8V2jLmfrMcC4r/ZZb2cOaA4cKDsJ+aOrdb2tivK gXbICcgyfr9N4IYFPNHDgZp8KELq3DJxiFFCL43dvrx70RKcOI7sOMKERf4loi5eu76a mIekU7p1/hpXUgiqLesrUUYkM7ilybVVhMlLEF4wQxVPeVemp4PzlIE1BQLBt+NqTUBO K6/tkxgrA8ild2may2UNxwqMC7kCnlLXze2IikQtSqjPz1sTZWN2yndQCoZu1jKlVq9A +dBg== 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:to:from; bh=jaUcnpobAZayhxG5HLQozP9+gq/7fVJbyyL71lBMzT8=; b=b8OrcDhifF6XlVJvkpedCXa7hnRuUB4pBfU5aQ0yP9L/dZmlvB6DlLlmRl+Y29Xt9a 4GIViRNa5XDTnA0T/oUcGPkZH+b57rD3QKQKQp0Ykr/prLeNYwhkL4Vk95rx/h/KBWF/ 6uKJ/ZNQrXB7/Y9rUrj8UpFcTQGGhpgDdcSf9/kkBFCnEF8ONfZSyBAJwqGQKDnREiEV UL/VUI0nd2KXezpLmngPlm4X61Cz95N8HjhKZyQhL2QXwo+o/JflKuQrZrTYnKwUxfIE ZMFcwpCMpGW0LdVBh95dhcF/qVfRvrea8UrMTGk/kuW271RLgpscbvOPqirPhLl7r3EW TRdA== 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 w17-v6si21948586pgk.497.2018.11.01.03.04.22; Thu, 01 Nov 2018 03:04:37 -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 S1728356AbeKATGN (ORCPT + 99 others); Thu, 1 Nov 2018 15:06:13 -0400 Received: from smtp3-1.goneo.de ([85.220.129.38]:41185 "EHLO smtp3-1.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727203AbeKATGM (ORCPT ); Thu, 1 Nov 2018 15:06:12 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 212B823F3BE; Thu, 1 Nov 2018 11:03:52 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.095 X-Spam-Level: X-Spam-Status: No, score=-3.095 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.195, 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 WqcLaKRnis-4; Thu, 1 Nov 2018 11:03:51 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 26B8423F3BB; Thu, 1 Nov 2018 11:03:51 +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) Subject: [PATCH v4 6/6] nfc: pn532_uart: Make use of pn532 autopoll Date: Thu, 1 Nov 2018 11:02:14 +0100 Message-Id: <20181101100216.613-6-poeschel@lemonage.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181101100216.613-1-poeschel@lemonage.de> References: <20181101100216.613-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 7df6d2fb8466..1d862caeda55 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 = 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