Re: [PATCH v4 34/35] mtd: rawnand: allocate model parameter dynamically

2018-07-22 Thread Boris Brezillon
On Fri, 20 Jul 2018 17:15:26 +0200 Miquel Raynal wrote: > Thanks to the migration of all drivers to use nand_scan() and the > related nand_controller_ops, we can now allocate data during the > detection phase. Let's do it first for the NAND model parameter which > is allocated in nand_detect(). >

[PATCH v4 34/35] mtd: rawnand: allocate model parameter dynamically

2018-07-20 Thread Miquel Raynal
Thanks to the migration of all drivers to use nand_scan() and the related nand_controller_ops, we can now allocate data during the detection phase. Let's do it first for the NAND model parameter which is allocated in nand_detect(). Signed-off-by: Miquel Raynal --- drivers/mtd/nand/raw/nand_base.