projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4e302
)
LF-3724-5: ASoC: fsl_asrc_m2m: clear peripheral_config
author
Shengjiu Wang
<shengjiu.wang@nxp.com>
Mon, 29 Mar 2021 02:22:12 +0000
(10:22 +0800)
committer
Shengjiu Wang
<shengjiu.wang@nxp.com>
Wed, 21 Apr 2021 08:00:08 +0000
(16:00 +0800)
clear peripheral_config
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
sound/soc/fsl/fsl_asrc_m2m.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl_asrc_m2m.c
b/sound/soc/fsl/fsl_asrc_m2m.c
index
a4dcd9b
..
411f132
100644
(file)
--- a/
sound/soc/fsl/fsl_asrc_m2m.c
+++ b/
sound/soc/fsl/fsl_asrc_m2m.c
@@
-188,6
+188,7
@@
static int fsl_asrc_dmaconfig(struct fsl_asrc_pair *pair, struct dma_chan *chan,
return -EINVAL;
}
+ memset(&slave_config, 0, sizeof(slave_config));
if (dir == IN) {
slave_config.direction = DMA_MEM_TO_DEV;
slave_config.dst_addr = dma_addr;