mtd: nand: mxs_nand: report correct ECC parameters
authorStefan Agner <stefan.agner@toradex.com>
Fri, 22 Jun 2018 15:19:50 +0000 (17:19 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Jun 2018 07:07:55 +0000 (09:07 +0200)
commit5c69dd0730ff6bcad16e86fd93bf7a914d988a22
tree26c9aa2d57359b0290169784a35091f16713500e
parent28897e8d21f8e197e259a91c693de09cd81f2d5a
mtd: nand: mxs_nand: report correct ECC parameters

Report correct ECC parameters back to the stack. Do not report
bytes as we have it not immeaditly available and the Linux version
also does not report it. It seems to have no aversive effect.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
drivers/mtd/nand/mxs_nand.c