Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2014439imm; Thu, 18 Oct 2018 07:48:20 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Z97BgONr9NHqivDeDPU8Dir55KDga0PG8wE37QR8IKp3qcNT6CUpuZn3XYElX9so+rowq X-Received: by 2002:a17:902:b783:: with SMTP id e3-v6mr2583737pls.96.1539874100032; Thu, 18 Oct 2018 07:48:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539874100; cv=none; d=google.com; s=arc-20160816; b=xpVljLAjRLrJf2qa4Uoccy/7EGfuuBT5Ne/5T1WAWKfAxw1EFnGMID4nmSujJ/PbLE cMc+4avtFQlhbTZUQDmTzWAeCCbRcUwGW/A3TBopp4F54/EDUsd9TT4SnhtNNyLaPBDm kB4pJ/qTthOoSSeb9phm05EbMplrOX8tmlgJopmG5CgJw19lvKT7PK/FuWiGI3AJDgQv o2Xt7D25Fuv9TSxPrIlKgYMOOIX/HhcuXijrUlAmc7DG37d0QAIEDXaAk39IZGfkFGAk PJeVVqXAMK9Ft3XmWwd/Z1LF0bBOv+K9/7Ea/GMRruAHa4pj+9AwZwLilwvsm/X44cmq gFYQ== 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=ZbL+C1vjfa3NvYqxOYRZFUAM6VprTSSatEHhip2y/UY=; b=IxRrn2zc6UR7QXD2sgOhMh1ud2BJCsfL5IDA3UkUu1kMICQHu0M5cBPUBNCik/vSLz iIHuU0+ioY/Zm/tPZ4JoLtpwSjV4RbwHc4fHv7RZ1g7TgLkzCvTUaKilPTkwL5Cyx2eZ f7MAQFgE3j8F1w0HzujjpAGt9X+32wuTkjl/8HHYqyySYYIwH/tqQZBhj9QS2/cV30Qs KMOjUZszflhTuGxgyTSGBagDLTFB2xIz3lEUKKVALNt3cGVeZfvXRLaaS/tn1DBSlgcb ZIXJIQ4yx5aexP9vWinY4O756/cXJXY56IGs0KRL7cqnsFj8lyg54JPGhC0qdllxnY85 W0pw== 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 m17-v6si21474698pfe.187.2018.10.18.07.48.03; Thu, 18 Oct 2018 07:48:20 -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 S1727612AbeJRWqo (ORCPT + 99 others); Thu, 18 Oct 2018 18:46:44 -0400 Received: from smtp2.goneo.de ([85.220.129.33]:33912 "EHLO smtp2.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726133AbeJRWqo (ORCPT ); Thu, 18 Oct 2018 18:46:44 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.goneo.de (Postfix) with ESMTP id 2FC19241D83; Thu, 18 Oct 2018 16:45:23 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.224 X-Spam-Level: X-Spam-Status: No, score=-3.224 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.324, 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 e6L5sNl1bNTR; Thu, 18 Oct 2018 16:45:22 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp2.goneo.de (Postfix) with ESMTPSA id DCBEA242A01; Thu, 18 Oct 2018 16:45:21 +0200 (CEST) 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 v2 4/4] nfc: pn532_uart: Make use of pn532 autopoll Date: Thu, 18 Oct 2018 16:42:44 +0200 Message-Id: <20181018144251.30028-4-poeschel@lemonage.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181018144251.30028-1-poeschel@lemonage.de> References: <20181018144251.30028-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 8fd71c8953ca..a95ca01745ca 100644 --- a/drivers/nfc/pn533/uart.c +++ b/drivers/nfc/pn533/uart.c @@ -207,7 +207,7 @@ static int pn532_uart_probe(struct serdev_device *serdev) goto err_free; pn532->serdev = serdev; - 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