Re: [PATCH v2] mmc: dw_mmc: Reset DMA before enabling IDMAC

2014-10-27 Thread Ulf Hansson
On 16 October 2014 18:58, Sonny Rao wrote: > We've already got a reset of DMA after it's done. Add one before we > start DMA too. This fixes a data corruption on Rockchip SoCs which > will get bad data when doing a DMA transfer after doing a PIO transfer. > > We tested this on an Exynos 5800 wit

Re: [PATCH v2] mmc: dw_mmc: Reset DMA before enabling IDMAC

2014-10-18 Thread Sonny Rao
On Fri, Oct 17, 2014 at 1:26 AM, Jaehoon Chung wrote: > Hi, Sonny. > > On 10/17/2014 01:58 AM, Sonny Rao wrote: >> We've already got a reset of DMA after it's done. Add one before we >> start DMA too. This fixes a data corruption on Rockchip SoCs which >> will get bad data when doing a DMA trans

Re: [PATCH v2] mmc: dw_mmc: Reset DMA before enabling IDMAC

2014-10-17 Thread Alim Akhtar
Hi Sonny, On Thu, Oct 16, 2014 at 10:28 PM, Sonny Rao wrote: > We've already got a reset of DMA after it's done. Add one before we > start DMA too. This fixes a data corruption on Rockchip SoCs which > will get bad data when doing a DMA transfer after doing a PIO transfer. > > We tested this on

Re: [PATCH v2] mmc: dw_mmc: Reset DMA before enabling IDMAC

2014-10-17 Thread Jaehoon Chung
Hi, Sonny. On 10/17/2014 01:58 AM, Sonny Rao wrote: > We've already got a reset of DMA after it's done. Add one before we > start DMA too. This fixes a data corruption on Rockchip SoCs which > will get bad data when doing a DMA transfer after doing a PIO transfer. > > We tested this on an Exyno

[PATCH v2] mmc: dw_mmc: Reset DMA before enabling IDMAC

2014-10-16 Thread Sonny Rao
We've already got a reset of DMA after it's done. Add one before we start DMA too. This fixes a data corruption on Rockchip SoCs which will get bad data when doing a DMA transfer after doing a PIO transfer. We tested this on an Exynos 5800 with HS200 and didn't notice any difference in sequentia