From 1fad0e8b9a8889f6ca79be570e06d00785f15aed Mon Sep 17 00:00:00 2001 From: Josh Wu Date: Wed, 7 Aug 2013 17:58:11 +0800 Subject: [PATCH] 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 Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-format-patch failed