diff options
| author | Andy Green <[email protected]> | 2016-08-29 10:30:48 -0700 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2016-08-31 10:09:32 +0530 |
| commit | aceaaa17e795b963880d71a03ab1ca9f4f597185 (patch) | |
| tree | 92094badf9b061f6560bdb7e0875869cb1a34309 | |
| parent | 6c28a90fb30cd3fe504e7dafe0b60b733f240f8c (diff) | |
k3dma: Fix dma err offsets
The offsets for ERR1 and ERR2 are wrong actually.
That's why you can never clear an error.
Cc: Zhangfei Gao <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Vinod Koul <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Andy Green <[email protected]>
Acked-by: Zhangfei Gao <[email protected]>
Signed-off-by: Andy Green <[email protected]>
[jstultz: Forward ported to mainline]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
| -rw-r--r-- | drivers/dma/k3dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index 3d514692bdc6..7dc7816d2a0c 100644 --- a/drivers/dma/k3dma.c +++ b/drivers/dma/k3dma.c @@ -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 |