diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-26 21:56:18 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-05-31 10:53:41 +0200 |
commit | 86f2b225adf4ecd2edfdc8541a7342645556ac3b (patch) | |
tree | 6beac102a85a5c4ed32e8f22c052832947226bcd /include/uapi | |
parent | mtd: rawnand: Return an enum from of_get_nand_ecc_algo() (diff) | |
download | linux-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