]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
k3dma: Fix dma err offsets
authorAndy Green <andy.green@linaro.org>
Mon, 29 Aug 2016 17:30:48 +0000 (10:30 -0700)
committerVinod Koul <vinod.koul@intel.com>
Wed, 31 Aug 2016 04:39:32 +0000 (10:09 +0530)
The offsets for ERR1 and ERR2 are wrong actually.
That's why you can never clear an error.

Cc: Zhangfei Gao <zhangfei.gao@linaro.org>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Andy Green <andy@warmcat.com>
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
[jstultz: Forward ported to mainline]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/k3dma.c

index 3d514692bdc61495af197d847b9001b9793eb139..7dc7816d2a0c6772d06141855802026ff9e2967f 100644 (file)
@@ -34,8 +34,8 @@
 #define INT_ERR1_MASK          0x20
 #define INT_ERR2_MASK          0x24
 #define INT_TC1_RAW            0x600
-#define INT_ERR1_RAW           0x608
-#define INT_ERR2_RAW           0x610
+#define INT_ERR1_RAW           0x610
+#define INT_ERR2_RAW           0x618
 #define CH_PRI                 0x688
 #define CH_STAT                        0x690
 #define CX_CUR_CNT             0x704