summaryrefslogtreecommitdiff
path: root/sound/synth/Kconfig
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>2024-09-11 15:29:07 +0300
committerMark Brown <broonie@kernel.org>2024-09-11 17:38:46 +0300
commit8f0280c84607afe122788e508a171ba163d71be6 (patch)
tree39ac1449d18fad8b8ab9134e7f0c9abac2d51414 /sound/synth/Kconfig
parent0b0aa67baa8904e3c1e13be48a2ca125f59ead3d (diff)
downloadlinux-8f0280c84607afe122788e508a171ba163d71be6.tar.xz
ASoC: atmel: mchp-pdmc: Improve maxburst calculation for better performance
Improve the DMA descriptor calculation by dividing the period size by the product of sample size and DMA chunk size, rather than just DMA chunk size. Ensure that all DMA descriptors start from a well-aligned address to improve the reliability and efficiency of DMA operations and avoid potential issues related to misaligned descriptors. [andrei.simion@microchip.com: Adjust the commit title. Reword the commit message. Add MACROS for each DMA size chunk supported by mchp-pdmc. Add DMA_BURST_ALIGNED preprocesor function to check the alignment of the DMA burst.] Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Signed-off-by: Andrei Simion <andrei.simion@microchip.com> Link: https://patch.msgid.link/20240911122909.133399-2-andrei.simion@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/synth/Kconfig')
0 files changed, 0 insertions, 0 deletions