commit | 1fad0e8b9a8889f6ca79be570e06d00785f15aed | [log] [tgz] |
---|---|---|
author | Josh Wu <josh.wu@atmel.com> | Wed Aug 07 17:58:11 2013 +0800 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Aug 30 21:34:36 2013 +0100 |
tree | d44e7bbc5ba28704feb1b65da9ee7229f0312db4 | |
parent | e09f7f992833ed73f1afc5eaa7cc4d5b10b04b7c [diff] |
mtd: atmel_nand: move the sanity check to the beginning of pmecc_enable() It is better to do the sanity check for the parameter before any hardware operation. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>