summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-26 21:56:18 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-31 10:53:41 +0200
commit86f2b225adf4ecd2edfdc8541a7342645556ac3b (patch)
tree6beac102a85a5c4ed32e8f22c052832947226bcd /include/uapi
parentmtd: rawnand: Return an enum from of_get_nand_ecc_algo() (diff)
downloadlinux-86f2b225adf4ecd2edfdc8541a7342645556ac3b.tar.xz
linux-86f2b225adf4ecd2edfdc8541a7342645556ac3b.zip
mtd: rawnand: Add an invalid ECC mode to discriminate with valid ones
NAND ECC modes (or providers) have their own enumeration but, unlike their algorithms counterpart, there is no invalid or uninitialized value to discriminate between an error and having chosen a no-ECC situation. Add an "invalid" entry for this purpose. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200526195633.11543-7-miquel.raynal@bootlin.com
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions