Name

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

struct mtd_info * mtd

MTD device structure

struct nand_chip * chip

NAND chip structure

unsigned long 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.