Skip to content
Snippets Groups Projects
Commit 15784862 authored by Stefan Roese's avatar Stefan Roese
Browse files

[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: default avatarRui Sousa <rui.sousa@laposte.net>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 3b58d945
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment