commit | 800342de6349b333ef2ab921e590708a43ee4345 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Sat Aug 04 22:59:23 2018 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Wed Oct 03 11:12:25 2018 +0200 |
tree | 6a79522edebdcbb347fcc7f6836983d40e09a620 | |
parent | 871a4073f438c61cc4cf7471476d9a8a29ccf620 [diff] |
mtd: rawnand: Do not treat !maxchips specially in nand_scan_with_ids() The only reason we were skipping nand_scan_ident() when maxchips == 0 was to make the docg4 to work. Now that this driver is gone we can remove this special case and return an error when maxchips is 0. Suggested-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>