The former ECC fail return value -1 is not the correct one, change to return 0 and let the nand base handle it. The mistake value causing file system to be unable to detect the ECC fail status and unable to make corresponding optimization processing. Change-Id: Ib79d02189de383fa9815cf0524e6bcb89b3c939f Signed-off-by: Jon Lin <jon.lin@rock-chips.com>