]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: Add DMA_PRIVATE to BCM2835 driver
authorFlorian Meier <florian.meier@koalo.de>
Fri, 17 Jan 2014 17:06:29 +0000 (18:06 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 20 Jan 2014 07:01:50 +0000 (12:31 +0530)
commit7f5ae3553685d54413dda4fc3c98f46056ea716b
tree129f106bd2a2f614bb4dfc8502af225271b1c69f
parent70dabaede806e12881a527ef9460b293ec15af59
dmaengine: Add DMA_PRIVATE to BCM2835 driver

Without DMA_PRIVATE the driver is not able to allocate more than one channel.
Since it uses dma_get_any_slave_channel that calls private_candidate,
the second allocation fails at
/* some channels are already publicly allocated */
Maybe it should be fixed in the core, but at least this fixes the bug.

Signed-off-by: Florian Meier <florian.meier@koalo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/bcm2835-dma.c