[PATCH] mtd: fix timeout in M25P80 driver

Martin Michlmayr tbm at cyrius.com
Mon Apr 13 15:33:11 EDT 2009


* Peter Horton <zero at colonel-panic.org> [2009-04-13 15:26]:
> Extend erase timeout in M25P80 SPI Flash driver.
> 
> The M25P80 drivers fails erasing sectors on a M25P128 because the ready
> wait timeout is too short. Change the timeout from a simple loop count to a
> suitable number of seconds.
> 
> Signed-off-by: Peter Horton <zero at colonel-panic.org>

Tested-by: Martin Michlmayr <tbm at cyrius.com>

This solves the problem I've seen on the QNAP TS-219.

-- 
Martin Michlmayr
http://www.cyrius.com/



More information about the linux-mtd mailing list