mtd: nand: Only call ONFI get/set features on supported chips
Older versions of the ONFI spec do not support get/set features, so
do not call these commands when they are not available.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d0f44fa commit 665a276f479b525802498d462a7bb7e45a72d5d1
@Sascha Hauer Sascha Hauer authored on 5 Sep 2017
Showing 2 changed files
View
drivers/mtd/nand/nand_base.c
View
include/linux/mtd/nand.h