Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1885756ima; Thu, 25 Oct 2018 06:33:49 -0700 (PDT) X-Google-Smtp-Source: AJdET5ed6giZDsxQSyQ+xONydlNipMLiOGmbrw2ZoS7rlB9Pkp8IEnSd22o7Wd2kUZYumVh2qD27 X-Received: by 2002:a63:6a42:: with SMTP id f63-v6mr1578464pgc.48.1540474429308; Thu, 25 Oct 2018 06:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540474429; cv=none; d=google.com; s=arc-20160816; b=M2cdsGns/AvMr+XTkdLIf5337GJjlD/MqARP+IK4TJMoMuad/V1UwbCJ7bcvD32dy9 gfRp1J6yfZwXZrKHOmdVP1oJScTGwmayhv+hrLbCttqAJ6jBtNU8Khr5EEme997F/hvV TXakKnxenrgd5vc9iKoivLsIUNXxxKzObgOtWwq9DZ2h8xFIXKfe84fUIlhhFvfk5uyl YoD0feaqYovwo+Xh5w9FXHA1aoSmCDdt2VZSvjSlr945bUL36Ymjf4gInHF9khvb52rg k2/4XoZhnjMfAkCF6Uv1Wec9quuHByKZ29VLUIqnS+szviOraBE5C7PELLA0XPRBuaUE ej9A== 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=bS0Le+XChbsRNRHPvR9s5qJePikgjWuqk8gegZrywdWGYBPJeUUJaKkvQhvl9xpF1W Tkcxa4owkrWU4av9zkZ0FRevf+RY87Aw5bPPEWGqk4QfC1IgauQfZHuAMlwzttaZxuSx KKmLn1bzCP3vD4+hSP9JnjeQWw2cyZjP5NhK9pswoUXQxsm3dWXcUWtJTtc4X4/3nMCY DlFbwNQMXv8ddxooRWeCS3EkyU/nsIGjZAKC+bNWDuZe3aXatbY6ryYuxV4A+p4l5ETQ Wm8Bz0CGnaUn3wtRKdzyGZtLtyCpVB8Uz7WEVE5p8FvZloSJoOTPYeyAP8dmvIs37RKn glfQ== 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 b9-v6si8081053pgi.91.2018.10.25.06.33.30; Thu, 25 Oct 2018 06:33:49 -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 S1727644AbeJYWFC (ORCPT + 99 others); Thu, 25 Oct 2018 18:05:02 -0400 Received: from smtp1-3.goneo.de ([85.220.129.32]:33707 "EHLO smtp1-3.goneo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727276AbeJYWFB (ORCPT ); Thu, 25 Oct 2018 18:05:01 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp1.goneo.de (Postfix) with ESMTP id CEA95241024; Thu, 25 Oct 2018 15:32:13 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -3.157 X-Spam-Level: X-Spam-Status: No, score=-3.157 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.257, BAYES_00=-1.9] autolearn=ham Received: from smtp1.goneo.de ([127.0.0.1]) by localhost (smtp1.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xNkZVFm5j6qq; Thu, 25 Oct 2018 15:32:13 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp1.goneo.de (Postfix) with ESMTPSA id C97CF23F435; Thu, 25 Oct 2018 15:32:12 +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 v3 5/5] nfc: pn532_uart: Make use of pn532 autopoll Date: Thu, 25 Oct 2018 15:29:36 +0200 Message-Id: <20181025132937.24405-5-poeschel@lemonage.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181025132937.24405-1-poeschel@lemonage.de> References: <20181025132937.24405-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