commit | 042b3f5abd392ceee4a3ed1722ee1de287c3a945 | [log] [tgz] |
---|---|---|
author | Mylène Josserand <mylene.josserand@bootlin.com> | Fri Jul 13 18:10:24 2018 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Tue Jul 31 20:45:50 2018 +0530 |
tree | ab1f5a9f14d55b5116005f47f90202701fbd234d | |
parent | c21946b34d248e6c73563062a5fb724bb6aa3ef3 [diff] |
mtd: nand: sunxi: Return on set_feature only when not ENOTSUPP Return the error code of the set_features function only if the error code is not ENOTSUPP. Otherwise, if this function is not supported, it will return and fail to initialize the NAND. Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com>