commit | eee0166d8ead9d719d794df3e66acd8f83630e05 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Wed May 14 14:58:07 2014 -0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed May 21 12:55:08 2014 -0700 |
tree | bae7bea4e395c86bf5389d731c8f409a4b861315 | |
parent | 67a9ad9b8a6f6ea76ef8fc484ae49970d72d5534 [diff] |
mtd: nand: pxa3xx: Clean pxa_ecc_init() error handling Let's make pxa_ecc_init() return a negative errno on error or zero if succesful, which is standard kernel practice. Also, report the selected ECC strength and step size, which is important information. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>