Re: [PATCH v2 1/3] dmaengine: add dma_get_channel_caps()

2013-01-20 Thread Matt Porter
On Sun, Jan 20, 2013 at 12:52:43PM +, Vinod Koul wrote: > On Thu, Jan 10, 2013 at 02:07:04PM -0500, Matt Porter wrote: > > +/* struct dmaengine_chan_caps - expose capability of a channel > > + * Note: each channel can have same or different capabilities > > + * > > + * This primarily

Re: [PATCH v2 1/3] dmaengine: add dma_get_channel_caps()

2013-01-20 Thread Vinod Koul
On Thu, Jan 10, 2013 at 02:07:04PM -0500, Matt Porter wrote: > +/* struct dmaengine_chan_caps - expose capability of a channel > + * Note: each channel can have same or different capabilities > + * > + * This primarily classifies capabilities into > + * a) APIs/ops supported > + * b) channel

Re: [PATCH v2 1/3] dmaengine: add dma_get_channel_caps()

2013-01-20 Thread Vinod Koul
On Thu, Jan 10, 2013 at 02:07:04PM -0500, Matt Porter wrote: +/* struct dmaengine_chan_caps - expose capability of a channel + * Note: each channel can have same or different capabilities + * + * This primarily classifies capabilities into + * a) APIs/ops supported + * b) channel physical

Re: [PATCH v2 1/3] dmaengine: add dma_get_channel_caps()

2013-01-20 Thread Matt Porter
On Sun, Jan 20, 2013 at 12:52:43PM +, Vinod Koul wrote: On Thu, Jan 10, 2013 at 02:07:04PM -0500, Matt Porter wrote: +/* struct dmaengine_chan_caps - expose capability of a channel + * Note: each channel can have same or different capabilities + * + * This primarily classifies

[PATCH v2 1/3] dmaengine: add dma_get_channel_caps()

2013-01-10 Thread Matt Porter
Add a dmaengine API to retrieve per channel capabilities. Currently, only channel ops and SG segment limitations are implemented caps. The API is optionally implemented by drivers and when unimplemented will return a NULL pointer. It is intended to be executed after a channel has been requested

[PATCH v2 1/3] dmaengine: add dma_get_channel_caps()

2013-01-10 Thread Matt Porter
Add a dmaengine API to retrieve per channel capabilities. Currently, only channel ops and SG segment limitations are implemented caps. The API is optionally implemented by drivers and when unimplemented will return a NULL pointer. It is intended to be executed after a channel has been requested