diff options
| author | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-12-08 08:29:10 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-12-14 19:39:05 +0900 |
| commit | f6ed06926b510f54a0817567ffd458194ed90bd6 (patch) | |
| tree | ed7252c2b120b624a0b7319888677da98fe9a5b1 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | cfe58ffc95a601988702df6f3462cb54dde467e9 (diff) | |
spi: stm32-ospi: Remove CR_TCIE and CR_TEIE irq usage
Replace CR_TCIE and CR_TEIE irq usage by a read_poll_timeout_atomic() in
stm32_ospi_wait_cmd(). It will reduce the time waiting for TCF or TEF flags
to optimize throughput.
before after
average time spent in stm32_omi_wait_cmd: 5685 ns 923 ns
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://patch.msgid.link/20251208-upstream_qspi_ospi_updates-v2-3-62526c9467dc@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
