diff options
| author | Pei Xiao <xiaopei01@kylinos.cn> | 2026-03-19 11:06:42 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-23 22:02:40 +0000 |
| commit | 579a49aaab0814c55595cddf0be9651e37972f6a (patch) | |
| tree | 5949d959930158086bc6cac42286da84e579e0a8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9f61daf2c2debe9f5cf4e1a4471e56a89a6fe45a (diff) | |
spi: hisi-kunpeng: Add timeout warning in FIFO flush function
When flushing the FIFO, the driver waits for the busy flag to clear
with a timeout. Change the loop condition to use pre-decrement (--limit)
instead of post-decrement (limit--) so that warning message can show. Add a
ratelimited warning message to log SPI busy timeout events, aiding in
debugging.
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Link: https://patch.msgid.link/dad95ce42fb5677edfed32bc1f9b3e54df2cf8de.1773889292.git.xiaopei01@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
