diff options
author | Josh Wu <josh.wu@atmel.com> | 2013-08-07 17:58:11 +0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-30 21:34:36 +0100 |
commit | 1fad0e8b9a8889f6ca79be570e06d00785f15aed (patch) | |
tree | d44e7bbc5ba28704feb1b65da9ee7229f0312db4 /include/linux | |
parent | mtd: onenand: use dev_get_platdata() (diff) | |
download | linux-dev-1fad0e8b9a8889f6ca79be570e06d00785f15aed.tar.xz linux-dev-1fad0e8b9a8889f6ca79be570e06d00785f15aed.zip |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions