commit | ef26d24c989aef6d9b1e4cef16fccc9819cefe1f | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon Nov 27 17:22:19 2006 +0100 |
committer | Stefan Roese <sr@denx.de> | Mon Nov 27 17:24:40 2006 +0100 |
tree | 00fb89e8966770ca7985cdbb7ad4addd4b881d42 | |
parent | 5011b3e9781c7dfb04d2b2ab06799fb4652cad1a [diff] |
[PATCH] nand_wait() timeout fixes Two fixes for the nand_wait() function in drivers/nand/nand_base.c: 1. Use correct timeouts. The original timeouts in Linux source are 400ms and 20ms not 40s and 20s 2. Return correct error value in case of timeout. 0 is interpreted as OK. Signed-off-by: Rui Sousa <rui.sousa@laposte.net> Signed-off-by: Stefan Roese <sr@denx.de>