Re: [PATCH] mmc: dw_mmc: Increase the timeout in mci_send_cmd to 5 sec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 October 2017 at 14:52, Bernd Edlinger <bernd.edlinger@xxxxxxxxxx> wrote:
> On 10/02/17 15:29, Bernd Edlinger wrote:
>> On 10/02/17 09:13, Ulf Hansson wrote:
>>> On 30 September 2017 at 17:38, Bernd Edlinger <bernd.edlinger@xxxxxxxxxx> wrote:
>>>>
>>>> Signed-off-by: Bernd Edlinger <bernd.edlinger@xxxxxxxxxx>
>>>
>>> Why?
>>>
>>
>> Obviously the 0.5 seconds time-out was not sufficent for me.
>> I experienced a time-out I believe it was with an erase command,
>> that took around one second to complete.  Not all brands of SD
>> card behave this way, but some do.
>>
>> Incidentally I had a similar problem with a completely different
>> hardware, see: https://bugzilla.kernel.org/show_bug.cgi?id=107811
>> Should I send a patch for that as well?
>>
>>
>
> Ping...
>
> Is raising the time-out also controversial?

Well, I think you should be using a timeout based on facts of the
command, not just some value.

Anyway, have a look at this series and see if it solves your problem.

https://lkml.org/lkml/2017/10/12/688

Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux