[PATCH v5 10/23] mtd: nand: denali: rework interrupt handling
Masahiro Yamada
yamada.masahiro at socionext.com
Thu Jun 8 10:30:12 PDT 2017
2017-06-09 2:26 GMT+09:00 Masahiro Yamada <yamada.masahiro at socionext.com>:
> ->dev_ready() is optional, but we may end up with waiting more than needed.
>
> case NAND_CMD_RESET:
> if (chip->dev_ready)
> break;
> udelay(chip->chip_delay);
>
>
> chip->chip_delay is probably set large enough, so this is not optimal.
I misunderstood the code.
The following line will be the most of the part of delay.
nand_wait_status_ready(mtd, 250);
--
Best Regards
Masahiro Yamada
More information about the linux-mtd
mailing list