Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Lars-Peter Clausen
On 07/08/2013 04:03 PM, Vinod Koul wrote: > On Mon, Jul 08, 2013 at 04:28:29PM +0200, Lars-Peter Clausen wrote: >> On 07/08/2013 03:40 PM, Vinod Koul wrote: >>> On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: On 07/08/2013 10:54 AM, Vinod Koul wrote: > +/* struct dma_sl

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Vinod Koul
On Mon, Jul 08, 2013 at 04:28:29PM +0200, Lars-Peter Clausen wrote: > On 07/08/2013 03:40 PM, Vinod Koul wrote: > > On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: > >> On 07/08/2013 10:54 AM, Vinod Koul wrote: > >>> +/* struct dma_slave_caps - expose capabilities of a slave cha

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Lars-Peter Clausen
On 07/08/2013 03:40 PM, Vinod Koul wrote: > On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: >> On 07/08/2013 10:54 AM, Vinod Koul wrote: >>> +/* struct dma_slave_caps - expose capabilities of a slave channel only >>> + * >>> + * @src_addr_widths: bit mask of src addr widths the

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Vinod Koul
On Mon, Jul 08, 2013 at 02:01:35PM +0200, Lars-Peter Clausen wrote: > On 07/08/2013 10:54 AM, Vinod Koul wrote: > > +/* struct dma_slave_caps - expose capabilities of a slave channel only > > + * > > + * @src_addr_widths: bit mask of src addr widths the channel supports > > + * @dstn_addr_widths: b

Re: [RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Lars-Peter Clausen
On 07/08/2013 10:54 AM, Vinod Koul wrote: > add new device callback .device_slave_caps api which can be used by clients to > query the dma channel capablties before they program the channel. This can > help > is removing errors during the channel programming. Also add helper > dma_slave_get_caps A

[RFC] dmaengine: add dma_slave_get_caps api

2013-07-08 Thread Vinod Koul
add new device callback .device_slave_caps api which can be used by clients to query the dma channel capablties before they program the channel. This can help is removing errors during the channel programming. Also add helper dma_slave_get_caps API This patch folds the work done by Matt earlier ht