mtd: nand_base: Only use GET/SET FEATURES command on chips that support them.
authorDavid Mosberger <dmosberger@gmail.com>
Wed, 29 May 2013 12:30:13 +0000 (15:30 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:49:04 +0000 (20:49 +0100)
commitd914c932d7764bf9633af974940aee9390adf20d
treeb08b576b48b297d925bf83e77619d1c0c4fbc8b1
parent64ddba4d8a381b65bebee24c8da4eb80080c64a4
mtd: nand_base: Only use GET/SET FEATURES command on chips that support them.

Spansion's S34MLx chips support ONFI but not the GET/SET FEATURES calls.

Signed-off-by: David Mosberger <dmosberger@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h