[MTD] NAND: Check command timeout
authorThomas Gleixner <tglx@linutronix.de>
Tue, 22 Feb 2005 21:56:49 +0000 (21:56 +0000)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 10:42:49 +0000 (12:42 +0200)
commit3b88775c7504dfdedd5f267cb8f02999e380222a
tree366ff196cff794ad135075f0c18ca68367c3099f
parentdfd61294403cce7ca2263674f420c3417093cb56
[MTD] NAND: Check command timeout

Check timeout while we wait for the command to finish. No worry about a
false result. This prevents deadlocking when detecting an unknown number
of chips and is useful for removable media too.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/nand_base.c