[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180806092909.28980-1-stefan@agner.ch>
Date: Mon, 6 Aug 2018 11:29:07 +0200
From: Stefan Agner <stefan@...er.ch>
To: boris.brezillon@...tlin.com, miquel.raynal@...tlin.com
Cc: computersforpeace@...il.com, dwmw2@...radead.org,
marek.vasut@...il.com, richard@....at,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
Stefan Agner <stefan@...er.ch>
Subject: [PATCH 1/3] mtd: rawnand: vf610_nfc: align IRQ bit naming
Rename the IRQ DONE clear bit to align with other IRQ bits.
Signed-off-by: Stefan Agner <stefan@...er.ch>
---
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
Powered by blists - more mailing lists