]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 23 Mar 2017 00:17:50 +0000 (09:17 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 24 Mar 2017 09:07:40 +0000 (10:07 +0100)
commitc5d664aa5a4c4b257a54eb35045031630d105f49
tree816b9d0d61440a00148dde372c42f3ca3ba5722e
parent3158fa0e739615769cc047d2428f30f4c3b6640e
mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp)

Set Features (0xEF) command toggles the R/B# pin after 4 sub feature
parameters are written.

Currently, nand_command(_lp) calls chip->dev_ready immediately after
the address cycle because NAND_CMD_SET_FEATURES falls into default:
label.  No wait is needed at this point.

If you see nand_onfi_set_features(), R/B# is already cared by the
chip->waitfunc call.

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