Re: [PATCH 2/2] mtd: rawnand: docg4: specify bits_per_cell

2018-07-08 Thread Boris Brezillon
On Sun, 8 Jul 2018 14:29:24 +0300 Sergey Larin wrote: > This fixes WARN() in nand_is_slc(). > > DoC G4 is 2-bit MLC, so set bits_per_cell value according to this. What you do here implies "no UBI on docg4". To be honest, I'm pretty sure there's an FTL in there, which clearly does not make it a

[PATCH 2/2] mtd: rawnand: docg4: specify bits_per_cell

2018-07-08 Thread Sergey Larin
This fixes WARN() in nand_is_slc(). DoC G4 is 2-bit MLC, so set bits_per_cell value according to this. Signed-off-by: Sergey Larin --- drivers/mtd/nand/raw/docg4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/raw/docg4.c b/drivers/mtd/nand/raw/docg4.c index bbed8ea7858c.