Message ID | 20170616100314.GD6032@verge.net.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Simon, On Fri, Jun 16, 2017 at 12:03 PM, Simon Horman <horms@verge.net.au> wrote: > On Fri, Jun 16, 2017 at 09:33:31AM +0200, Simon Horman wrote: >> On Fri, Jun 16, 2017 at 09:23:15AM +0200, Geert Uytterhoeven wrote: >> > Hi Simon, >> > >> > On Fri, Jun 16, 2017 at 9:13 AM, Simon Horman <horms@verge.net.au> wrote: >> > > Sorry for letting this bug creep in to renesas-drivers. >> > > Do you want a patch against your tree? I will plan to post v2 of >> > > this patchset soon in any case. >> > >> > You can post such a patch to please users of renesas-drivers, but I won't >> > apply it now. I assume the issue will be fixed when next renesas-drivers >> > release is created ;-) >> >> That is my assumption too :) > > Revised patches posted as "[PATCH mmc/next v2 0/4] mmc: renesas_sdhi: add > support for R-Car Gen3 SDHI DMAC" Thanks! > Pushed to topic/sdhi-gen3-dma-2017-v2 in my renesas tree. > Do you need a fresh pull request? Not needed, I already updated my list of topics to merge. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/mmc/host/renesas_sdhi_sys_dmac.c b/drivers/mmc/host/renesas_sdhi_sys_dmac.c index 90f8d11c4868..2897ee0b444a 100644 --- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c +++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c @@ -106,6 +106,11 @@ static void renesas_sdhi_sys_dmac_abort_dma(struct tmio_mmc_host *host) renesas_sdhi_sys_dmac_enable_dma(host, true); } +static void renesas_sdhi_sys_dmac_complete_dma(struct tmio_mmc_host *host) +{ + complete(&host->dma_dataend); +} + static void renesas_sdhi_sys_dmac_dma_callback(void *arg) { struct tmio_mmc_host *host = arg; @@ -427,6 +432,7 @@ static const struct tmio_mmc_dma_ops renesas_sdhi_sys_dmac_dma_ops = { .request = renesas_sdhi_sys_dmac_request_dma, .release = renesas_sdhi_sys_dmac_release_dma, .abort = renesas_sdhi_sys_dmac_abort_dma, + .complete = renesas_sdhi_sys_dmac_complete_dma, }; static int renesas_sdhi_sys_dmac_probe(struct platform_device *pdev)