summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/shdma.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski2013-07-02 17:37:58 +0200
committerVinod Koul2013-08-25 08:18:22 +0200
commita28a94e84bca8ba7db66bcc0db1bea51840b08b2 (patch)
tree1ef5bf1356baa02e8d63991b6ed0c20f798b637f /drivers/dma/sh/shdma.h
parentLinux 3.11-rc4 (diff)
downloadkernel-qcow2-linux-a28a94e84bca8ba7db66bcc0db1bea51840b08b2.tar.gz
kernel-qcow2-linux-a28a94e84bca8ba7db66bcc0db1bea51840b08b2.tar.xz
kernel-qcow2-linux-a28a94e84bca8ba7db66bcc0db1bea51840b08b2.zip
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/sh/shdma.h')
0 files changed, 0 insertions, 0 deletions