Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3314452imm; Mon, 6 Aug 2018 02:30:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcZ7tjo225rEHjtnCPGkuW6F/DFXZdFxhM4w2JW579aNRTu94K/HMe68dGeZ965MBcZf3Q6 X-Received: by 2002:a62:843:: with SMTP id c64-v6mr16373172pfd.14.1533547825047; Mon, 06 Aug 2018 02:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533547825; cv=none; d=google.com; s=arc-20160816; b=UHagW1VHSKgI8TX5O095h4X1A16JOjNi7Izs5FIFBhXx7npi3La0jOBfGIDIWTv/EU LHNizuPLWIrkkCKkyZzmZYcpsf3FfizhLK6fKeOLGmiubQ7q1QnnsweRliA8u9OIPhJB ljg7zTpk3n5MGMbUZ1630nNCacKWHfn+IIJ1NosKDghSA8vVStdX8Bc6h2aBNyiiUZrx uB/xFbBghpjwJoQR93G6/Y+AAWZRCFK5Ootz6WdHatcgq85MZXF96FpeSnOsonl/+Fwi iMtChIZd+qe4dqVFkTsJkOT4vMxvzQ+2t5pftS75upNegY1iW8EVmKyJ8Z5hYGRyM1en BUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=wMfTePY/Fk667oGzC7LwWYq7SGr5L3zaN5lpSBjgzZo=; b=MZH6rUlUgKVsgboBjJDL7OFfilqd+haA/Bw8tK8t3W3s402i/NdCUISNV5jnR2LqhR B296hykcX/kYMQ10MQe7C4bweq+pXfMftJeXU80oHVQJnWCpdD9y93qDnLHZyx1uXaDm 1rM7vwvlu2rCztktta8p6BLPXvxfvRO0Hh2rzfyL4gfIvI6xnSVsGl31HaYwJuoA52nJ LawTcZvZEK6FxpfZaEMwF/+OdvQszLrfsimX+dPuYrZaPR8CHdLhxSxs02Gs/ad9xKb6 JDpp1J06OdUc5v18rOpnIt9w8naOUstg9LDOiHnY4zkMKhiSsDvqdSjAhFL0m+OR6Tx/ rYXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=kQ201zWT; 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 e14-v6si12660233pgj.413.2018.08.06.02.30.10; Mon, 06 Aug 2018 02:30:25 -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; dkim=pass header.i=@agner.ch header.s=dkim header.b=kQ201zWT; 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 S1729267AbeHFLhc (ORCPT + 99 others); Mon, 6 Aug 2018 07:37:32 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:53124 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728330AbeHFLhb (ORCPT ); Mon, 6 Aug 2018 07:37:31 -0400 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id BCC3F5C002F; Mon, 6 Aug 2018 11:29:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1533547755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:content-type:content-transfer-encoding: in-reply-to:references; bh=wMfTePY/Fk667oGzC7LwWYq7SGr5L3zaN5lpSBjgzZo=; b=kQ201zWTfqqNB/ZJ2MJFeosKPlSkniF/RPETv3+2NzUanXCAJrN9ipl5kzDEIkXuYr4Yq9 anT8deE80ho3BAzasbDn1KHiPwhmgpCjWU+eaifpCaoQwHCo9cDGOI/i/ki2yq2Vrw3EaZ Os2PL+kewC0b7CYW7J3X2F/bPv+wnbc= From: Stefan Agner To: boris.brezillon@bootlin.com, miquel.raynal@bootlin.com Cc: computersforpeace@gmail.com, dwmw2@infradead.org, marek.vasut@gmail.com, richard@nod.at, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH 1/3] mtd: rawnand: vf610_nfc: align IRQ bit naming Date: Mon, 6 Aug 2018 11:29:07 +0200 Message-Id: <20180806092909.28980-1-stefan@agner.ch> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename the IRQ DONE clear bit to align with other IRQ bits. Signed-off-by: Stefan Agner --- drivers/mtd/nand/raw/vf610_nfc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/vf610_nfc.c b/drivers/mtd/nand/raw/vf610_nfc.c index d5a22fc96878..740a91c5c86e 100644 --- a/drivers/mtd/nand/raw/vf610_nfc.c +++ b/drivers/mtd/nand/raw/vf610_nfc.c @@ -132,7 +132,7 @@ /* NFC_IRQ_STATUS Field */ #define IDLE_IRQ_BIT BIT(29) #define IDLE_EN_BIT BIT(20) -#define CMD_DONE_CLEAR_BIT BIT(18) +#define DONE_CLEAR_BIT BIT(18) #define IDLE_CLEAR_BIT BIT(17) /* @@ -290,7 +290,7 @@ static inline void vf610_nfc_clear_status(struct vf610_nfc *nfc) { u32 tmp = vf610_nfc_read(nfc, NFC_IRQ_STATUS); - tmp |= CMD_DONE_CLEAR_BIT | IDLE_CLEAR_BIT; + tmp |= DONE_CLEAR_BIT | IDLE_CLEAR_BIT; vf610_nfc_write(nfc, NFC_IRQ_STATUS, tmp); } -- 2.18.0