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
@@ -422,7 +422,7 @@ static int tmio_probe(struct platform_device *dev)
|
||||
nand_chip->badblock_pattern = data->badblock_pattern;
|
||||
|
||||
/* 15 us command delay time */
|
||||
nand_chip->chip_delay = 15;
|
||||
nand_chip->legacy.chip_delay = 15;
|
||||
|
||||
retval = devm_request_irq(&dev->dev, irq, &tmio_irq, 0,
|
||||
dev_name(&dev->dev), tmio);
|
||||
|
Reference in New Issue
Block a user