Re: [PATCH v3] mmc: dw_mmc: add quirk for broken data transfer over scheme

2014-12-05 Thread Alexandru Stan
Seems like the BROKEN_DTO also affects EVENT_DATA_COMPLETE, sometimes we don't see that (but we do see EVENT_XFER_COMPLETE), leave the state machine and never come back to it to timeout. I have this happening on emmc specifically, haven't seen it on sdmmc yet. The fix is to also start the timer

Re: [PATCH v3] mmc: dw_mmc: add quirk for broken data transfer over scheme

2014-12-02 Thread Doug Anderson
Addy, On Tue, Dec 2, 2014 at 7:16 PM, Addy Ke addy...@rock-chips.com wrote: This patch add a new quirk to add a s/w timer to notify the driver to terminate current transfer and report a data timeout to the core, if DTO interrupt does NOT come within the given time. dw_mmc call