summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Lai <b04597@freescale.com>2009-11-26 13:47:06 +0800
committerWilliam Lai <b04597@freescale.com>2009-11-26 13:58:19 +0800
commit63b641d4af5c2612f5a20932593a131f3e5b9f2f (patch)
treec881b28f6bb531954f4260a33dd65b3ac9cf0a3c
parentffcfdda92b034595da28e5a6fc740f881b459d1d (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>
-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) {