diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-16 15:16:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-17 12:05:48 +0100 |
commit | a391fc06f4d565b1fae7ebf3b9f03b4bb0c22e00 (patch) | |
tree | a66625a148128e71564c49374f68171eb710b03a /pbl | |
parent | a420bad17b8561a80134a7581eb09527b000b353 (diff) | |
download | barebox-a391fc06f4d565b1fae7ebf3b9f03b4bb0c22e00.tar.gz barebox-a391fc06f4d565b1fae7ebf3b9f03b4bb0c22e00.tar.xz |
mtd: nand-imx: Fix correct_data return value for v2/v3 controllers
The correct return value for a uncorrectable page is -EBADMSG, not -1
(which is -EPERM). Also the max_bitflips returned shall be the bitflips
per ecc step, not per page.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
0 files changed, 0 insertions, 0 deletions