SysTutorials

Linux Manual Pages › Section 9

panic_nand_wait(9)

panic_nand_wait – [GENERIC] wait until the command is done

Synopsis

void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, unsigned long timeo);

Arguments

mtd

MTD device structure

chip

NAND chip structure

timeo

timeout

Description

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.

Author

Thomas Gleixner <tglx [at] linutronix.de>

Author.

Copyright