aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-tmff.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-17 12:32:10 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-02-12 23:35:38 +0100
commit5039fc9f2d6db603cba48c770e29251d661ce4e2 (patch)
tree63f79c3f77896aeedaff0b9c600ed0524d7212da /drivers/hid/hid-tmff.c
parent67b87f66cae0bca0dd6602739383381c10b0c9c4 (diff)
downloadkernel_replicant_linux-5039fc9f2d6db603cba48c770e29251d661ce4e2.tar.gz
kernel_replicant_linux-5039fc9f2d6db603cba48c770e29251d661ce4e2.tar.bz2
kernel_replicant_linux-5039fc9f2d6db603cba48c770e29251d661ce4e2.zip
mtd: nand: mxc: Fix failed/corrected values for v1 controllers
The v1 controller code has several flaws: - We do not forward the number of corrected bitflips to the upper layers - For 2k page NAND chips only the status results from the fourth subpage read are evaluated, so ECC failures in the other subpages remain uncovered - When there are uncorrectable errors we have to increase the statistics counter, but still have to return successfully. Currently we return an error This patch fixes this by introducing a v1 specific read_page function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/hid/hid-tmff.c')
0 files changed, 0 insertions, 0 deletions