summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@foss.st.com>2025-12-18 13:48:29 +0300
committerMark Brown <broonie@kernel.org>2025-12-18 13:59:34 +0300
commitb39ef93a2e5b5f4289a3486d8a94a09a1e6a4c67 (patch)
treeebd80be5077d3717bf462568087d0086831023d4 /include/linux
parent1ac3be217c01d5df55ec5052f81e4f1708f46552 (diff)
downloadlinux-b39ef93a2e5b5f4289a3486d8a94a09a1e6a4c67.tar.xz
spi: stm32: perform small transfer in polling mode
In case of interrupt based transfer, when the transfer is very small, relying on interrupts leads to lower performances than if the transfer were done using polling on the registers. Add a module parameter "polling_limit_us" to indicate the threshold in us from which a transfer would be done polling the registers rather than relying on interrupts. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Link: https://patch.msgid.link/20251218-stm32-spi-enhancements-v2-3-3b69901ca9fe@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions