summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-04-30 15:10:27 +0300
committerTakashi Iwai <tiwai@suse.de>2024-05-08 19:15:06 +0300
commit222a596640295e5f2deb7bd0a805f8f6a3068069 (patch)
tree927bffba3b6112b34639360b0b555e520bf73cf1 /tools/perf/scripts/python/exported-sql-viewer.py
parent44f69ddccb66bcdf969c44d8bb5d4dea4d6b2933 (diff)
downloadlinux-222a596640295e5f2deb7bd0a805f8f6a3068069.tar.xz
ALSA: aoa: soundbus: i2sbus: pcm: use 'time_left' variable with wait_for_completion_timeout()
There is a confusing pattern in the kernel to use a variable named 'timeout' to store the result of wait_for_completion_timeout() causing patterns like: timeout = wait_for_completion_timeout(...) if (!timeout) return -ETIMEDOUT; with all kinds of permutations. Use 'time_left' as a variable to make the code self explaining. Fix to the proper variable type 'unsigned long' while here. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20240430121028.30443-1-wsa+renesas@sang-engineering.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions