Re: wait_for_completion in mmc_wait_for_req_done never returns

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

 



Jon Ringle <jonringle <at> gmail.com> writes:

> 
> I'm porting an arm board from linux-3.10 to linux-3.12 and found that I
can no longer detect the SD card. I
> found that the wait_for_completion(&mrq->completion) in
> drivers/mmc/core/core.c:mmc_wait_for_req_done() is never returning.
> 
> I was able to bisect the problem to this commit:
> 0244ad004a54e39308d495fee0a2e637f8b5c317 is the first bad commit
> commit 0244ad004a54e39308d495fee0a2e637f8b5c317
> Author: Martin Schwidefsky <schwidefsky <at> de.ibm.com>
> Date:   Fri Aug 30 09:39:53 2013 +0200
> 
> 


I noticed that issue as well. Did you get any response on this? I am
thinking replace the "wait_for_completion" with
"wait_for_completion_timeout". What value of the time out you think is
appropriate? I used 1000.

--
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