diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-10-28 12:29:55 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-05 09:23:47 +0100 |
commit | d098093ba06eb032057d1aca1c2e45889e099d00 (patch) | |
tree | 28ca56fe0840240fbfa55d23c90c1bc35d606030 /drivers/mtd/spi-nor | |
parent | mtd: nand: drop kernel-doc notation for a deleted function parameter (diff) | |
download | linux-d098093ba06eb032057d1aca1c2e45889e099d00.tar.xz linux-d098093ba06eb032057d1aca1c2e45889e099d00.zip |
mtd: nand: Fix nanddev_neraseblocks()
nanddev_neraseblocks() currently returns the number pages per LUN
instead of the total number of eraseblocks.
Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
0 files changed, 0 insertions, 0 deletions