aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm4908/patches-5.4/085-v5.8-0001-phy-phy-brcm-usb-Constify-static-structs.patch
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-02-07 20:17:12 -0800
committerFelix Fietkau <nbd@nbd.name>2021-02-15 08:13:16 +0100
commit3da4acaa7bba185489b968a140ecf327169db0bd (patch)
treeedd6ebeeb2f21b8f2af67569d2d28c2866a886ad /target/linux/bcm4908/patches-5.4/085-v5.8-0001-phy-phy-brcm-usb-Constify-static-structs.patch
parentf378d81da6d1976ba3d304932cda4ff0cdd5f182 (diff)
downloadupstream-3da4acaa7bba185489b968a140ecf327169db0bd.tar.gz
upstream-3da4acaa7bba185489b968a140ecf327169db0bd.tar.bz2
upstream-3da4acaa7bba185489b968a140ecf327169db0bd.zip
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: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Diffstat (limited to 'target/linux/bcm4908/patches-5.4/085-v5.8-0001-phy-phy-brcm-usb-Constify-static-structs.patch')
0 files changed, 0 insertions, 0 deletions