From: Ezequiel Garcia Date: Wed, 30 Oct 2013 15:01:43 +0000 (-0300) Subject: dma: mv_xor: Fix mis-usage of mmio 'base' and 'high_base' registers X-Git-Tag: v3.13-rc1~29^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a1402eaee5dab1f3ab2d5aa4c316451374c5af;p=pandora-kernel.git dma: mv_xor: Fix mis-usage of mmio 'base' and 'high_base' registers Despite requesting two memory resources, called 'base' and 'high_base', the driver uses explicitly only the former. The latter is being used implicitly by addressing at offset +0x200, which in practice accesses high_base. In other words, the current driver breaks if the second memory resource is ever place at an offset different from +0x200. This patch fixes the above by defining the registers with the offset from high_base, and use high_base explicitly where appropriate. Signed-off-by: Ezequiel Garcia Acked-by: Thomas Petazzoni Signed-off-by: Dan Williams --- Reading git-diff-tree failed