ARM: shmobile: r8a7791: Correct SYS-DMAC clock defines
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 12 May 2014 18:49:33 +0000 (20:49 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 May 2014 01:16:42 +0000 (10:16 +0900)
R-Car M2 has two MSTP bits for SYS-DMAC, not one.
Also bring the naming in sync with the documentation.

This issue was introduced in v3.14, in commit
4d8864c9e94ec727f1c675b9f6921525c360334b ("ARM: shmobile: r8a7791: Add
clock index macros for DT sources").

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
include/dt-bindings/clock/r8a7791-clock.h

index f069bc6..c3b0130 100644 (file)
@@ -43,7 +43,8 @@
 #define R8A7791_CLK_SCIFB1             7
 #define R8A7791_CLK_MSIOF1             8
 #define R8A7791_CLK_SCIFB2             16
-#define R8A7791_CLK_DMAC               18
+#define R8A7791_CLK_SYS_DMAC1          18
+#define R8A7791_CLK_SYS_DMAC0          19
 
 /* MSTP3 */
 #define R8A7791_CLK_TPU0               4