Skip to content
Commit 850bdafa authored by Mylène Josserand's avatar Mylène Josserand Committed by Jagan Teki
Browse files

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: default avatarMylène Josserand <mylene.josserand@bootlin.com>
Acked-by: default avatarJagan Teki <jagan@openedev.com>
parent cbe9ea26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment