On 29-05-18, 21:13, Robert Jarzmik wrote:
> Vinod writes:
>
> > On 26-05-18, 11:54, Robert Jarzmik wrote:
> >> @@ -762,6 +762,8 @@ static void pxad_free_chan_resources(struct dma_chan
> >> *dchan)
> >>dma_pool_destroy(chan->desc_pool);
> >>chan->desc_pool = NULL;
> >>
> >> + chan->drc
Vinod writes:
> On 26-05-18, 11:54, Robert Jarzmik wrote:
>> @@ -762,6 +762,8 @@ static void pxad_free_chan_resources(struct dma_chan
>> *dchan)
>> dma_pool_destroy(chan->desc_pool);
>> chan->desc_pool = NULL;
>>
>> +chan->drcmr = (u32)-1;
>
> why not use U32_MAX for this?
But of
On 26-05-18, 11:54, Robert Jarzmik wrote:
> @@ -762,6 +762,8 @@ static void pxad_free_chan_resources(struct dma_chan
> *dchan)
> dma_pool_destroy(chan->desc_pool);
> chan->desc_pool = NULL;
>
> + chan->drcmr = (u32)-1;
why not use U32_MAX for this?
--
~Vinod
As what former drcmr -1 value meant, add a this as a default to each
channel, ie. that by default no requestor line is used.
This is specifically used for network drivers smc91x and smc911x, and
needed for their port to slave maps.
Cc: Arnd Bergmann
Signed-off-by: Robert Jarzmik
---
drivers/dm
As what former drcmr -1 value meant, add a this as a default to each
channel, ie. that by default no requestor line is used.
This is specifically used for network drivers smc91x and smc911x, and
needed for their port to slave maps.
Cc: Arnd Bergmann
Signed-off-by: Robert Jarzmik
---
drivers/dm
5 matches
Mail list logo