From: Guennadi Liakhovetski Date: Tue, 2 Jul 2013 15:37:58 +0000 (+0200) Subject: DMA: shdma: fix CHCLR register address calculation X-Git-Tag: v3.12-rc1~68^2~7^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a28a94e84bca8ba7db66bcc0db1bea51840b08b2;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed