Skip to contentSkip to conversation

nand_wait() timeout fixes

PATCH New Rui Sousa 2 participants 2 messages Nov 8, 2006 – Nov 28, 2006

lore
Share & tools
lore

Rui Sousa

author
#0 lore raw

PATCH 1/1 nand_wait() timeout fixes

Hi,

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.

Please apply,
Rui
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nand_wait.patch
Type: text/x-diff
Size: 833 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061108/3303234f/attachment.patch

Applied
#1 lore raw

PATCH 1/1 nand_wait() timeout fixes

Quoted 8 lines · Rui Sousa

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.

Applied. Thanks.

Best regards,
Stefan