Re: [PATCH v2 11/16] mmc: sdhci: Program a relatively accurate SW timeout value

2018-02-19 Thread Adrian Hunter
On 19/02/18 11:24, Adrian Hunter wrote: > On 05/02/18 14:50, Kishon Vijay Abraham I wrote: >> sdhci has a 10 second timeout to catch devices that stop responding. >> Instead of programming 10 second arbitrary value, calculate the total time >> it would take for the entire transfer to happen and pro

Re: [PATCH v2 11/16] mmc: sdhci: Program a relatively accurate SW timeout value

2018-02-19 Thread Adrian Hunter
On 05/02/18 14:50, Kishon Vijay Abraham I wrote: > sdhci has a 10 second timeout to catch devices that stop responding. > Instead of programming 10 second arbitrary value, calculate the total time > it would take for the entire transfer to happen and program the timeout > value accordingly. > > Si

Re: [PATCH v2 11/16] mmc: sdhci: Program a relatively accurate SW timeout value

2018-02-15 Thread Kishon Vijay Abraham I
On Monday 05 February 2018 06:20 PM, Kishon Vijay Abraham I wrote: > sdhci has a 10 second timeout to catch devices that stop responding. > Instead of programming 10 second arbitrary value, calculate the total time > it would take for the entire transfer to happen and program the timeout > value

[PATCH v2 11/16] mmc: sdhci: Program a relatively accurate SW timeout value

2018-02-05 Thread Kishon Vijay Abraham I
sdhci has a 10 second timeout to catch devices that stop responding. Instead of programming 10 second arbitrary value, calculate the total time it would take for the entire transfer to happen and program the timeout value accordingly. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sd