Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1219633
| From | Robert Jarzmik <robert.jarzmik@free.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine |
| Date | 2015-09-05 22:10 +0200 |
| Message-ID | <q5rWF-2ff-5@gated-at.bofh.it> (permalink) |
| References | <q14YG-7E8-11@gated-at.bofh.it> <q5qxz-6Y-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> writes:
> Robert,
>
> Just a couple of minor comments.
>> + dma_unmap_sg(info->dma_chan->device->dev,
>> + &info->sg, 1, info->dma_dir);
>
> Unneeded line breaking.
Indeed, for v2.
>> + r = platform_get_resource(pdev, IORESOURCE_DMA, 1);
>> + if (r == NULL) {
>> + dev_err(&pdev->dev,
>> + "no resource defined for cmd DMA\n");
>> + ret = -ENXIO;
>> + goto fail_disable_clk;
>> + }
>> + info->drcmr_cmd = r->start;
>
> AFAICS, you only do data DMA, so this command resource can go away.
> If you want to keep it for now and remove it as a follow up patch,
> that's fine.
Yeah, keep it in this patch, and change in a future patch (ie. keep current
behavior).
> Other than this minor stuff:
>
> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Thanks, I'll add that in v2.
> Tested on Armada 370 to make sure it doesn't cause any regressions.
Good. Was it on top of linux-next or linux master ?
Cheers.
--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Robert Jarzmik <robert.jarzmik@free.fr> - 2015-08-24 20:50 +0200
Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> - 2015-08-29 01:00 +0200
Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Robert Jarzmik <robert.jarzmik@free.fr> - 2015-08-29 13:10 +0200
Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> - 2015-09-05 20:30 +0200
Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> - 2015-09-05 20:40 +0200
Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Robert Jarzmik <robert.jarzmik@free.fr> - 2015-09-05 22:10 +0200
Re: [PATCH] mtd: nand: pxa3xx-nand: switch to dmaengine Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> - 2015-09-05 22:20 +0200
csiph-web