summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2026-09-28 14:11:47 +0800
committerMark Brown <broonie@kernel.org>2026-09-28 19:32:22 +0100
commit76915128bde26af7e357dfd4501f5e329d1364be (patch)
treeaae739336bf266f6f9bfc06f02a0668a51c3f801 /scripts/Makefile.thinlto
parent33598785b31c1a550e193b7c7dc5402fa5d04a13 (diff)
downloadlinux-76915128bde26af7e357dfd4501f5e329d1364be.tar.gz
linux-76915128bde26af7e357dfd4501f5e329d1364be.zip
ASoC: fsl_asrc/fsl_easrc: move DMA params into pair/context struct
The shared dma_params_tx/rx fields in struct fsl_asrc were a single instance written by every concurrent fsl_asrc_dma_hw_params() call. With multiple DAIs registered (one per pair/context), parallel stream open+hw_params races would corrupt addr and maxburst for all active streams. Fix by moving dma_params into struct fsl_asrc_pair so each pair owns its own copy. Initialise them in fsl_asrc_dma_startup() where the pair is allocated, which makes the per-DAI probe callbacks in fsl_asrc.c and fsl_easrc.c redundant; remove those as well. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://patch.msgid.link/20260928061149.1844121-4-shengjiu.wang@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions