summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-12-20 13:47:42 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-12-20 15:04:30 +0100
commit080a4e9c9b43d0a1cda7726bf14a828d4eff3b01 (patch)
tree3be78952927005bfae2853b296348c5285f1a6bf /fs
parenta8fd9bfd126cee8a02400f49301fb58228a2bf26 (diff)
downloadbarebox-080a4e9c9b43d0a1cda7726bf14a828d4eff3b01.tar.gz
barebox-080a4e9c9b43d0a1cda7726bf14a828d4eff3b01.tar.xz
mtd: fix mtd_read return value
mtd->read returns the number of bitflips as positive numbers. Instead of returning these numbers Return -EUCLEAN when the bitflip threshold has been reached, 0 otherwise. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions