[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130710093055.GW24642@n2100.arm.linux.org.uk>
Date: Wed, 10 Jul 2013 10:30:55 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Jonas Jensen <jonas.jensen@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
arm@...nel.org, vinod.koul@...el.com, djbw@...com, arnd@...db.de
Subject: Re: [PATCH] dmaengine: Add MOXA ART DMA engine driver
On Wed, Jul 10, 2013 at 10:51:03AM +0200, Jonas Jensen wrote:
> +#include "virt-dma.h"
...
> +struct moxart_dma_chan {
> + struct virt_dma_chan vchan;
...
> +static inline struct moxart_dma_chan *to_moxart_dma_chan(struct dma_chan *c)
> +{
> + return container_of(c, struct moxart_dma_chan, vchan.chan);
> +}
...
> + for (i = 0; i < APB_DMA_MAX_CHANNEL; i++, mchan++) {
> + mchan->ch_num = i;
> + mchan->reg = (struct moxart_dma_reg *)(dma_base_addr + 0x80
> + + i * sizeof(struct moxart_dma_reg));
> + mchan->callback = NULL;
> + mchan->allocated = 0;
> + mchan->callback_param = NULL;
> + vchan_init(&mchan->vchan, &mdc->dma_slave);
Do you actually make any use what so ever of the vchan support?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists