[PATCH] Fix erase timeout in M25P80 driver

Martin Michlmayr tbm at cyrius.com
Sat Apr 4 11:34:33 EDT 2009


* Peter Horton <zero at colonel-panic.org> [2009-04-04 15:38]:
> 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