public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] nand_wait() timeout fixes
@ 2006-11-08 21:59 Rui Sousa
  2006-11-28  9:43 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Rui Sousa @ 2006-11-08 21:59 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] [PATCH] nand_wait() timeout fixes
  2006-11-08 21:59 [U-Boot-Users] [PATCH] nand_wait() timeout fixes Rui Sousa
@ 2006-11-28  9:43 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2006-11-28  9:43 UTC (permalink / raw)
  To: u-boot

On Wednesday 08 November 2006 22:59, Rui Sousa wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-28  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 21:59 [U-Boot-Users] [PATCH] nand_wait() timeout fixes Rui Sousa
2006-11-28  9:43 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox