summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_asrc_m2m.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2014-12-08 15:20:41 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:48:21 +0800
commitf54a93b477539524740ca786de646b9b0b571822 (patch)
tree7c9d99e1f2fc7dd59d9643eb82d869345e03d841 /sound/soc/fsl/fsl_asrc_m2m.c
parent200a083afb686fe60bc0f84ebf7e5b76ab5d071d (diff)
MLK-10048-5: ASoC: fsl_asrc: underrun for playback 192k, 6ch p2p case.
For p2p output, the output divider should align with the output sample rate, if use the Ideal sample rate, there will be a lot of overload, which will cause underrun. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 5ab043f1a020ae8c3aeb3d91f6894bbd6a6ec147)
Diffstat (limited to 'sound/soc/fsl/fsl_asrc_m2m.c')
-rw-r--r--sound/soc/fsl/fsl_asrc_m2m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_asrc_m2m.c b/sound/soc/fsl/fsl_asrc_m2m.c
index 1ae6aa7b739b..a7defb59bfcf 100644
--- a/sound/soc/fsl/fsl_asrc_m2m.c
+++ b/sound/soc/fsl/fsl_asrc_m2m.c
@@ -1,7 +1,7 @@
/*
* Freescale ASRC Memory to Memory (M2M) driver
*
- * Copyright (C) 2014 Freescale Semiconductor, Inc.
+ * Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
@@ -538,7 +538,7 @@ static long fsl_asrc_ioctl_config_pair(struct fsl_asrc_pair *pair,
index = config.pair;
pair->config = &config;
- ret = fsl_asrc_config_pair(pair);
+ ret = fsl_asrc_config_pair(pair, false, false);
if (ret) {
pair_err("failed to config pair: %ld\n", ret);
return ret;