summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mxc/asrc/mxc_asrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mxc/asrc/mxc_asrc.c b/drivers/mxc/asrc/mxc_asrc.c
index 5db445137a58..3b870e5d16f1 100644
--- a/drivers/mxc/asrc/mxc_asrc.c
+++ b/drivers/mxc/asrc/mxc_asrc.c
@@ -581,6 +581,7 @@ int asrc_config_pair(struct asrc_config *config)
* for mx53, we need to set input data format
* and output data format
*/
+ reg = 0;
if (config->word_width == 16)
reg = 0x1 << 9;
else if (config->word_width == 8)