summaryrefslogtreecommitdiff
path: root/drivers/dma/dw
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-07-02 17:37:58 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-25 11:48:22 +0530
commita28a94e84bca8ba7db66bcc0db1bea51840b08b2 (patch)
tree1ef5bf1356baa02e8d63991b6ed0c20f798b637f /drivers/dma/dw
parentc095ba7224d8edc71dcef0d655911399a8bd4a3f (diff)
DMA: shdma: fix CHCLR register address calculation
struct sh_dmae_device::chan_reg is a pointer to u32, therefore when adding offsets to it care should be taken to add offsets in sizeof(u32) units, not in bytes. This patch corrects such a bug. While at it we also remove the redundant parameter of the affected function. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw')
0 files changed, 0 insertions, 0 deletions