]> git.baikalelectronics.ru Git - uboot.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)
commitfc9e0468b447648e4cf5347030f2b0ad316dbe93
tree322c7a13a601bf4a8a9c5bb1e197b3f80bed6692
parent60f90f97f64603e3183f48bb41f4fc3c275fbadd
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