On Tue, 18 May 2010 21:13:11 +0100 Liam Girdwood <lrg@xxxxxxxxxxxxxxx> wrote: > This adds a method to set the MCBSP DMA OP mode. > > Signed-off-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx> > --- > arch/arm/plat-omap/include/plat/mcbsp.h | 2 ++ > arch/arm/plat-omap/mcbsp.c | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 33 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/plat-omap/include/plat/mcbsp.h b/arch/arm/plat-omap/include/plat/mcbsp.h > index 1bd7021..f8823f4 100644 > --- a/arch/arm/plat-omap/include/plat/mcbsp.h > +++ b/arch/arm/plat-omap/include/plat/mcbsp.h > @@ -476,6 +476,7 @@ u16 omap_mcbsp_get_max_rx_threshold(unsigned int id); > u16 omap_mcbsp_get_tx_delay(unsigned int id); > u16 omap_mcbsp_get_rx_delay(unsigned int id); > int omap_mcbsp_get_dma_op_mode(unsigned int id); > +int omap_mcbsp_set_dma_op_mode(unsigned int id, unsigned int mode); This should have been here even in private form when the get function was introduced. Let's wait for Peter's comment about op mode sysfs functionality will we go with patch 4/4 or convert it to use this function. But anyway this patch is good to have. Acked-by: Jarkko Nikula <jhnikula@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html