summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/atmel_nand_nfc.h
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2016-05-09 09:51:18 +0300
committerBrian Norris <computersforpeace@gmail.com>2016-05-26 06:06:28 +0300
commit53b74ed2d0b4170764bf6d4cba6b786be1cab846 (patch)
tree2910d57ff00dc12aaeb96eda651c2eefdc3910df /drivers/mtd/nand/atmel_nand_nfc.h
parente5366a266a8cd4cd6b0fe66876462cca2e1c6a89 (diff)
downloadlinux-53b74ed2d0b4170764bf6d4cba6b786be1cab846.tar.xz
Revert "mtd: atmel_nand: Support variable RB_EDGE interrupts"
This reverts commit 5ddc7bd43ccc ("mtd: atmel_nand: Support variable RB_EDGE interrupts") Because for current SoCs, the RB_EDGE3(i.e. bit 27) of HSMC_SR register does not exist, the RB_EDGE0 (i.e. bit 24) is the ready/busy line edge status bit. It is a datasheet bug. Cc: <stable@vger.kernel.org> Fixes: commit 5ddc7bd43ccc ("mtd: atmel_nand: Support variable RB_EDGE interrupts") Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand_nfc.h')
-rw-r--r--drivers/mtd/nand/atmel_nand_nfc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/atmel_nand_nfc.h b/drivers/mtd/nand/atmel_nand_nfc.h
index 0bbc1fa97dba..4d5d26221a7e 100644
--- a/drivers/mtd/nand/atmel_nand_nfc.h
+++ b/drivers/mtd/nand/atmel_nand_nfc.h
@@ -42,8 +42,7 @@
#define NFC_SR_UNDEF (1 << 21)
#define NFC_SR_AWB (1 << 22)
#define NFC_SR_ASE (1 << 23)
-#define NFC_SR_RB_EDGE0 (1 << 24)
-#define NFC_SR_RB_EDGE3 (1 << 27)
+#define NFC_SR_RB_EDGE (1 << 24)
#define ATMEL_HSMC_NFC_IER 0x0c
#define ATMEL_HSMC_NFC_IDR 0x10