Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

From: Bo Shen
Date: Mon Jul 01 2013 - 23:02:02 EST


Hi Richard,

On 7/1/2013 16:39, Richard Genoud wrote:
The ssc device has to fill the at_dma_slave structure with the
device tree informations.
Doing a of_dma_request_slave_channel()+dma_release_channel() for that
seems wrong (or at least not very clean).

Please hold on of this, as to the ASoC dmaengine will deal with this. So, we not need do it manually.

Now, I am working on it. And will send out the patch soon after testing OK.

Signed-off-by: Richard Genoud<richard.genoud@xxxxxxxxx>
---
drivers/misc/atmel-ssc.c | 56 +++++++++++++++++++++++++++++++
include/linux/atmel-ssc.h | 2 ++
include/linux/platform_data/dma-atmel.h | 2 ++
3 files changed, 60 insertions(+)

Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/