]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00265414-1 mxc: asrc: Fix incorrect offset for output clock P/D of Pair C
authorNicolin Chen <b42378@freescale.com>
Fri, 10 May 2013 03:29:53 +0000 (11:29 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:11 +0000 (14:14 +0200)
The offset of output clock prescaler and divider were swapped, so reverse them.

Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit 4cda1ac12a8fdef84082212fb8fc5590c6c22fe7)

drivers/mxc/asrc/mxc_asrc.c

index 5767706a5022a452b3b38befb71678761593a312..badc9905f086e2cae5bff0f48fe9018201c1ff3f 100644 (file)
@@ -63,8 +63,8 @@ DEFINE_SPINLOCK(output_int_lock);
 #define AOCDB           21     /* Output Clock Prescaler B Offset */
 #define AICPC           0      /* Input Clock Divider C Offset */
 #define AICDC           3      /* Input Clock Prescaler C Offset */
-#define AOCDC           6      /* Output Clock Prescaler C Offset */
-#define AOCPC           9      /* Output Clock Divider C Offset */
+#define AOCPC           6      /* Output Clock Prescaler C Offset */
+#define AOCDC           9      /* Output Clock Divider C Offset */
 
 char *asrc_pair_id[] = {
        [0] = "ASRC RX PAIR A",