commit | 0d6030ac041f6835974deb88a1a9c299b4adc3ad | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Wed Jul 18 10:42:17 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Thu Jul 19 23:14:57 2018 +0200 |
tree | e1dee689fd594ddce0cb05c5b399805aaa699142 | |
parent | 3ec7cb369eb22a5a06f9867e358bc55d40055168 [diff] |
mtd: rawnand: Expose _notsupp() helpers for raw page accessors Some implementations simply can't disable their ECC engine. Expose helpers returning -ENOTSUPP so that the caller knows that raw accesses are not supported instead of silently falling back to non-raw accessors. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>