summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorWilliam Lai <b04597@freescale.com>2009-11-26 13:47:06 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-02-12 17:19:39 +0100
commit42e24e9ca144285e58a68ae6e7b4280ea0a79ca8 (patch)
treec881b28f6bb531954f4260a33dd65b3ac9cf0a3c /drivers/mxc
parent87120cfb15c3338875958b7f1630630ae34bdfc3 (diff)
ENGR00118425 Mx35 ASRC: Cann't work as the SPDIF RX as input
The ASRC cann't work when the SPDIF RX is employed to drive the input part of the ASRC. The root cause is miswritting "reg |= 7 << AICPA;" as "reg | 7 << AICPA;". Signed-off-by: William Lai <b04597@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/asrc/mxc_asrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/asrc/mxc_asrc.c b/drivers/mxc/asrc/mxc_asrc.c
index e420740d350c..14a5135d83d0 100644
--- a/drivers/mxc/asrc/mxc_asrc.c
+++ b/drivers/mxc/asrc/mxc_asrc.c
@@ -426,7 +426,7 @@ int asrc_config_pair(struct asrc_config *config)
reg &= 0xfc0fc0;
/* Input Part */
if ((config->inclk & 0x0f) == INCLK_SPDIF_RX)
- reg | 7 << AICPA;
+ reg |= 7 << AICPA;
else if ((config->inclk & 0x0f) == INCLK_SPDIF_TX)
reg |= 6 << AICPA;
else if ((config->inclk & 0x0f) == INCLK_ASRCK1_CLK) {