]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: onfi: Avoid doing a copy of the parameter page
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Apr 2020 09:42:59 +0000 (11:42 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:40 +0000 (09:51 +0200)
commit45713f05482e2d4364931f05bb80fe1b393d9705
tree4902e0668b4584464841360ab02737359000f2e2
parente25c4aa73493d7cc54cdd4e68f7b3557141cbcc8
mtd: rawnand: onfi: Avoid doing a copy of the parameter page

There is no need for copying the parameter page, playing with
pointers does the trick.

There is not functional change.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200428094302.14624-7-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_onfi.c