]> 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)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:38:12 +0000 (21:38 +0100)
commit4204cccde5e754745bbf30b077060c2033d29efa
tree354aacfbac5316611c5b6637d91f41f266aa280e
parentbdf69c47ac67480122b8842acf0ea75c0d18a5e9
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c