Re: RFC : mmc : Use wait_for_completion_timeout() instead of wait_for_completion in case of multiple write blocks.

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

 



2011/9/2 NamJae Jeon <linkinjeon@xxxxxxxxx>:

> We should consider DMA situation. As I know, host controller can not
> rise timeout interrupt in write not read in DMA status.

Which host controller are you talking about?

> host
> controller can just know whether card is finish to program to use busy
> line. If unstable card is holding busy line while writing using DMA,
> hang problem will happen by wait_for_completion.
> so I think that mmc driver need some exception to avoid this problem.

Yes you can add a timeout in the driver itself. Just set up
a common timer, no big deal.

Yours,
Linus Walleij
--
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