[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: NRui Sousa <rui.sousa@laposte.net> Signed-off-by: NStefan Roese <sr@denx.de>
Showing
想要评论请 注册 或 登录