]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: set ONFI nand's default hooks in nand_set_defaults()
authorHuang Shijie <b32955@freescale.com>
Fri, 16 Aug 2013 02:10:07 +0000 (10:10 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 17 Aug 2013 18:18:01 +0000 (11:18 -0700)
commitb56c6b59bdb994549afdddfbade3adc064e7179e
treee851a4aa78971d8ecdf51c996caff7d1cacdeaef
parent79a795e8aa960afbcaebb48357ff05252a78cc88
mtd: set ONFI nand's default hooks in nand_set_defaults()

We may do some ONFI get/set features operations before we call the
nand_scan_tail().

So move the default ONFI nand hooks into nand_set_defaults().

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c