bcm2835: dma: strangeness of of_dma_request_slave_channel

Martin Sperl kernel at martin.sperl.org
Mon Apr 27 22:41:25 PDT 2015


> On 27.04.2015, at 22:24, Stephen Warren <swarren at wwwdotorg.org> wrote:
> 
> On 04/27/2015 12:37 PM, Martin Sperl wrote:
>> Hi!
>> 
>> While implementing DMA mode fro the spi-bcm2835 driver I have run
>> into some strangeness:
>> 
>> When loading unloading and reloading the module the call to
>> of_dma_request_slave_channel fails on the second load and there
>> only for the second dma channel requested.
> 
> Is this at all related to:
> 
> http://www.spinics.net/lists/dmaengine/msg03906.html
> [PATCH] dmaengine: increment privatecnt when using dma_get_any_slave_channel
> 
> https://lkml.org/lkml/2015/4/27/261
> [PATCH] dmaengine: Fix dma_get_any_slave_channel() handling of private channels

thanks - this works for me now fine with this patch.

Tested-by: Martin Sperl <kernel at martin.sperl.org>




More information about the linux-rpi-kernel mailing list