diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-07-02 17:37:58 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-25 11:48:22 +0530 |
commit | a28a94e84bca8ba7db66bcc0db1bea51840b08b2 (patch) | |
tree | 1ef5bf1356baa02e8d63991b6ed0c20f798b637f /drivers/dma/Kconfig | |
parent | c095ba7224d8edc71dcef0d655911399a8bd4a3f (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/Kconfig')
0 files changed, 0 insertions, 0 deletions