commit | a28a94e84bca8ba7db66bcc0db1bea51840b08b2 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Tue Jul 02 17:37:58 2013 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Sun Aug 25 11:48:22 2013 +0530 |
tree | 1ef5bf1356baa02e8d63991b6ed0c20f798b637f | |
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>