diff options
author | Mark Brown <broonie@kernel.org> | 2024-05-07 04:38:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-07 04:38:11 +0300 |
commit | 741e987d04324810a832205052872be45ecaf9f6 (patch) | |
tree | d0f4e3542c0f9e8b0c36dec14bd3adc18cf356f3 /sound/soc/qcom/qdsp6/q6apm-dai.c | |
parent | d98b07124ba42ba84740ca27f53ffba02abc1606 (diff) | |
parent | 4e1f953a4a447b5e001655b453505c4c15904c61 (diff) | |
download | linux-741e987d04324810a832205052872be45ecaf9f6.tar.xz |
ASoC: use 'time_left' instead of 'timeout' with
Merge series from Wolfram Sang <wsa+renesas@sang-engineering.com>:
There is a confusing pattern in the kernel to use a variable named 'timeout' to
store the result of wait_for_*() functions 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
obvious and self explaining.
This is part of a tree-wide series. The rest of the patches can be found here
(some parts may still be WIP):
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/time_left
Because these patches are generated, I audit them before sending. This is why I
will send series step by step. Build bot is happy with these patches, though.
No functional changes intended.
Diffstat (limited to 'sound/soc/qcom/qdsp6/q6apm-dai.c')
0 files changed, 0 insertions, 0 deletions