]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: nand_base: Convert EINVAL into ENOTSUPP
authorMylène Josserand <mylene.josserand@bootlin.com>
Fri, 13 Jul 2018 16:10:23 +0000 (18:10 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 31 Jul 2018 15:15:42 +0000 (20:45 +0530)
commitcbe9ea26e3a275bc3e47414797406a234c0baa55
tree322c7a13a601bf4a8a9c5bb1e197b3f80bed6692
parent33620947333f08d54abb96c0936937db1d315931
mtd: nand: nand_base: Convert EINVAL into ENOTSUPP

Convert the EINVAL error into ENOTSUPP when the GET/SET_FEATURES
is not supported.

Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Acked-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/nand/nand_base.c