commit | 850bdafa503e2045a8e931ce601fd71dc33157cf | [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 | cbe9ea26e3a275bc3e47414797406a234c0baa55 [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>