mtd: rawnand: Deprecate ->chip_delay
The wait timeouts and delays are directly extracted from the NAND timings and ->chip_delay is only used in legacy path, so let's move it to the nand_legacy struct to make it clear. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:

committed by
Miquel Raynal

parent
4524036793
commit
3cece3abeb
@@ -180,7 +180,7 @@ static int xway_nand_probe(struct platform_device *pdev)
|
||||
data->chip.legacy.write_buf = xway_write_buf;
|
||||
data->chip.legacy.read_buf = xway_read_buf;
|
||||
data->chip.legacy.read_byte = xway_read_byte;
|
||||
data->chip.chip_delay = 30;
|
||||
data->chip.legacy.chip_delay = 30;
|
||||
|
||||
data->chip.ecc.mode = NAND_ECC_SOFT;
|
||||
data->chip.ecc.algo = NAND_ECC_HAMMING;
|
||||
|
Reference in New Issue
Block a user