[PATCH 06/14] mtd: rawnand: gpmi: read buf in nand_read_page_op

Miquel Raynal miquel.raynal at bootlin.com
Wed Apr 17 03:25:08 PDT 2019


Hi Sascha,

Sascha Hauer <s.hauer at pengutronix.de> wrote on Tue,  9 Apr 2019
13:34:13 +0200:

> The driver calls nand_read_page_op without a buffer passed and then
> calls chip->legacy.read_buf to read the buffer afterwards which is
> the same as passing the buffer nand_read_page_op in the first place.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>  drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)
> 

Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>

Thanks,
Miquèl



More information about the linux-mtd mailing list