]> err.no Git - linux-2.6/commit
[MTD] Fix default timeouts for Intel NOR flash
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 14:39:10 +0000 (14:39 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 14:39:10 +0000 (14:39 +0000)
commit2a5bd596723e13b3f25b9a7f46e9541577bd42c7
treed0c06496cb3d9b905795e48e0af4d3d54b404dc5
parentc1f1625860847b57a0450a28d112423c2af675ff
[MTD] Fix default timeouts for Intel NOR flash

In commit c172471b78255a5cf6d05383d9ebbf0c6683167a Nico switched to using
common code for polling for command completion. Unfortunately he also used
a common default timeout for both write and erase commands, despite the
fact that erases can take a _whole_ lot longer. Use a more sensible
default for erase timeout.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/cfi_cmdset_0001.c