mtd: nand: do not check R/B# for CMD_READID in nand_command(_lp)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 15 Sep 2017 12:44:58 +0000 (21:44 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Oct 2017 13:31:35 +0000 (22:31 +0900)
commit6f29c7a8f1fa8abef167d9017947cf090e39d60e
tree04a8c507c76decd0d7ac653fc1766bceef793db5
parentce3ba458a84390882c0882b28736d44e3025cf11
mtd: nand: do not check R/B# for CMD_READID in nand_command(_lp)

Read ID (0x90) command does not toggle the R/B# pin.  Without this
patch, NAND_CMD_READID falls into the default: label, then R/B# is
checked by chip->dev_ready().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[ Linux commit: 3158fa0e739615769cc047d2428f30f4c3b6640e ]
drivers/mtd/nand/nand_base.c