mtd: nand: fix ONFI parameter page layout
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 23 Nov 2015 10:23:07 +0000 (11:23 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 1 Dec 2015 19:03:42 +0000 (11:03 -0800)
commitde64aa9ec129ba627634088f662a4d09e356ddb6
treeb102fc1dfa769d7e2fb45b2b5b150c91aaa29b60
parent9b9f1033da9166617c4a5cadfc12b23b465fb596
mtd: nand: fix ONFI parameter page layout

src_ssync_features field is only 1 byte large, and the 4th reserved area
is actually 8 bytes large.

Fixes: d1e1f4e42b5 ("mtd: nand: add support for reading ONFI parameters from NAND device")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/nand.h