diff options
| author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-16 23:16:00 +0100 |
|---|---|---|
| committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-16 23:46:30 +0100 |
| commit | 99f2b464b4e550865c2a3288fa0b88db2869f798 (patch) | |
| tree | 202eb53c38d16c800b95cec04d84470d9736d8e5 /scripts | |
| parent | 0e407dfe8bac1475f8f963dff699e434bbbeb4d5 (diff) | |
| download | upstream-99f2b464b4e550865c2a3288fa0b88db2869f798.tar.gz upstream-99f2b464b4e550865c2a3288fa0b88db2869f798.tar.bz2 upstream-99f2b464b4e550865c2a3288fa0b88db2869f798.zip | |
kernel: 5.10: fix busy wait loop in mediatek PPE code
Reapply changes added to 5.4 but not copied to 5.10:
3da4acaa7bba ("kernel: fix busy wait loop in mediatek PPE code")
The intention is for the loop to timeout if the body does not succeed.
The current logic calls time_is_before_jiffies(timeout) which is false
until after the timeout, so the loop body never executes.
time_is_after_jiffies(timeout) will return true until timeout is less
than jiffies, which is the intended behavior here.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
