[generic] wait until the command is done
void panic_nand_wait(struct mtd_info * mtd, struct nand_chip * chip, unsigned long timeo);
mtd
MTD device structure
chip
NAND chip structure
timeo
timeout
Wait for command done. This is a helper function for nand_wait used when we are in interrupt context. May happen when in panic and trying to write an oops through mtdoops.
Thomas Gleixner <[email protected]>
Author.