dmaengine: bcm2835: remove unnecessary masking of dma channels
authorMartin Sperl <kernel@martin.sperl.org>
Wed, 16 Mar 2016 19:24:56 +0000 (12:24 -0700)
committerVinod Koul <vinod.koul@intel.com>
Fri, 15 Apr 2016 04:27:21 +0000 (09:57 +0530)
commita1d71ba90c68a5dfd87dd4c1a6386cef017d9ecb
tree82e50387c1ded2fea5c47a27e703e72d2b0da0f2
parent0fa5867e6a2c6119fac35b8b710bec87b4598940
dmaengine: bcm2835: remove unnecessary masking of dma channels

The original patch contained 3 dma channels that were masked out.

These - as far as research and discussions show - are a
artefacts remaining from the downstream legacy dma-api.

Right now down-stream still includes a legacy api used only
in a single (downstream only) driver (bcm2708_fb) that requires
2D DMA for speedup (DMA-channel 0).
Formerly the sd-card support driver also was using this legacy
api (DMA-channel 2), but since has been moved over to use
dmaengine directly.

The DMA-channel 3 is already masked out in the devicetree in
the default property "brcm,dma-channel-mask = <0x7f35>;"

So we can remove the whole masking of DMA channels.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/bcm2835-dma.c
This page took 0.025126 seconds and 5 git commands to generate.