aboutsummaryrefslogtreecommitdiffstats
path: root/tools/scripts/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-09-23 18:15:47 +0800
committerMark Brown <broonie@kernel.org>2022-09-23 17:54:14 +0100
commit1849a1505533501ea39ed0538c2d35eba4704baa (patch)
tree3d4913898b3a9e07212f23b20456b0cdd058384c /tools/scripts/ssh:/git@git.zx2c4.com
parentASoC: soc-component: using pm_runtime_resume_and_get instead of pm_runtime_get_sync (diff)
downloadlinux-dev-1849a1505533501ea39ed0538c2d35eba4704baa.tar.xz
linux-dev-1849a1505533501ea39ed0538c2d35eba4704baa.zip
ASoC: fsl_asrc_dma: fully initialize structs
The driver uses two statically ininitialized struct dma_slave_config, but only one of them is initialized to zero. Initialize config_be to zero as well to make sure that no fields are filled with random values. Let the compiler do this instead of explicitly calling memset() which makes it easier to read. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Link: https://lore.kernel.org/r/1663928147-10106-1-git-send-email-shengjiu.wang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions