Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-31 Thread Pantelis Antoniou
Hi Przemyslaw, On Oct 1, 2013, at 3:16 PM, Przemyslaw Marczak wrote: Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this issue. Changes in sdhci_send_command() function:

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-04 Thread Przemyslaw Marczak
Hi Jaehoon, On 10/04/2013 06:39 AM, Jaehoon Chung wrote: Hi Przemyslaw, On 10/01/2013 09:16 PM, Przemyslaw Marczak wrote: Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-03 Thread Jaehoon Chung
Hi Przemyslaw, On 10/01/2013 09:16 PM, Przemyslaw Marczak wrote: Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this issue. Changes in sdhci_send_command() function: -

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-02 Thread Pantelis Antoniou
Hi Przemyslaw, On Oct 1, 2013, at 7:59 PM, Przemyslaw Marczak wrote: Hello Pantelis, Thank you for reply On 10/01/2013 05:50 PM, Pantelis Antoniou wrote: while (sdhci_readl(host, SDHCI_PRESENT_STATE) mask) { -if (timeout == 0) { +if (time == cmd_timeout) {

[U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Przemyslaw Marczak
Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this issue. Changes in sdhci_send_command() function: - change timeout variable to static - increase default command timeout to 100

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Pantelis Antoniou
Hi there, On Oct 1, 2013, at 3:16 PM, Przemyslaw Marczak wrote: Old command timeout value was too small and it caused I/O errors which led to uncompleted read/write/erase operations and filesystem errors. Timeout adaptation fixes this issue. Changes in sdhci_send_command() function: -

Re: [U-Boot] [PATCH] mmc: sdhci: Avoid commands errors by simple timeout adaptation.

2013-10-01 Thread Przemyslaw Marczak
Hello Pantelis, Thank you for reply On 10/01/2013 05:50 PM, Pantelis Antoniou wrote: while (sdhci_readl(host, SDHCI_PRESENT_STATE) mask) { -if (timeout == 0) { +if (time == cmd_timeout) { time = cmd_timeout here. You rely on the timeout hitting exactly the same value