diff options
author | Théo Lebrun <[email protected]> | 2024-04-23 12:01:42 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-04-26 11:09:24 +0900 |
commit | c1887396373b8faecef61d352bd521ac66162706 (patch) | |
tree | 8a533995239bf7bedbcf8722857ca0fec27a445a /lib/test_fortify/write_overflow-memcpy.c | |
parent | 1f257b92e6330d576cc826fb8f0b74fe0e8209de (diff) |
spi: cadence-qspi: add early busywait to cqspi_wait_for_bit()
Call readl_relaxed_poll_timeout() with no sleep at the start of
cqspi_wait_for_bit(). If its short timeout expires, a sleeping
readl_relaxed_poll_timeout() call takes the relay.
The reason is to avoid hrtimer interrupts on the system. All read
operations are expected to take less than 100µs.
Signed-off-by: Théo Lebrun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions