aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_request_layer.c
diff options
context:
space:
mode:
authorThéo Lebrun <[email protected]>2024-04-23 10:01:42 +0000
committerMark Brown <[email protected]>2024-04-26 02:09:24 +0000
commitc1887396373b8faecef61d352bd521ac66162706 (patch)
tree8a533995239bf7bedbcf8722857ca0fec27a445a /drivers/platform/surface/aggregator/ssh_request_layer.c
parentspi: cadence-qspi: add no-IRQ mode to indirect reads (diff)
downloadkernel-c1887396373b8faecef61d352bd521ac66162706.tar.gz
kernel-c1887396373b8faecef61d352bd521ac66162706.zip
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 'drivers/platform/surface/aggregator/ssh_request_layer.c')
0 files changed, 0 insertions, 0 deletions