Re: [PATCH 2/2] mmc: renesas_sdhi_internal_dmac: Cannot clear the RX_IN_USE in abort

2018-06-28 Thread Geert Uytterhoeven
On Thu, Jun 28, 2018 at 1:53 PM Yoshihiro Shimoda wrote: > This patch is fixes an issue that the SDHI_INTERNAL_DMAC_RX_IN_USE > flag cannot be cleared because tmio_mmc_core sets the host->data > to NULL before the tmio_mmc_core calls tmio_mmc_abort_dma(). > > So, this patch clears the

[PATCH 2/2] mmc: renesas_sdhi_internal_dmac: Cannot clear the RX_IN_USE in abort

2018-06-28 Thread Yoshihiro Shimoda
This patch is fixes an issue that the SDHI_INTERNAL_DMAC_RX_IN_USE flag cannot be cleared because tmio_mmc_core sets the host->data to NULL before the tmio_mmc_core calls tmio_mmc_abort_dma(). So, this patch clears the SDHI_INTERNAL_DMAC_RX_IN_USE in the renesas_sdhi_internal_dmac_abort_dma()