mtd: nand: Fix nand_command_lp() for 8bits opcodes
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 15 Jun 2016 11:09:51 +0000 (13:09 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 23 Sep 2016 07:35:16 +0000 (09:35 +0200)
commitfde85cfd2d079bdd733d7b07d9a5775a6f70f458
tree71fde5151b6315542e5faa6bb4a080a7fdeed6ef
parent4796d8655915b8dce265318542a40d920aad91a3
mtd: nand: Fix nand_command_lp() for 8bits opcodes

8 bits opcodes should be followed by a single address cycle. Make the
2nd address cycle dependent of !nand_opcode_8bits(command).

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