summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWilliam Lai <b04597@freescale.com>2009-11-26 13:47:06 +0800
committerJustin Waters <justin.waters@timesys.com>2010-03-25 14:01:17 -0400
commit4490bfdaca386016203a3ed59668ba0ad15bc7fe (patch)
treec881b28f6bb531954f4260a33dd65b3ac9cf0a3c /drivers
parent902aef0f48239b98a0e4a52fb4dfa3609b1d6c29 (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')
-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) {