diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2021-11-02 05:50:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-17 16:56:55 +0300 |
commit | 0d8cfeeef3f5a5966abce1903f80308be33280cb (patch) | |
tree | 461b83d67fada528f34509c249ff9e3e2a0ad8e8 /tools/rcu | |
parent | 38269d2faddc26278edc99e14458c95dfd10455b (diff) | |
download | linux-0d8cfeeef3f5a5966abce1903f80308be33280cb.tar.xz |
usb: xhci-mtk: fix random remote wakeup
Some platforms, e.g. 8183/8192, use low level latch way to keep
wakeup signal, it may latch a wrong signal if debounce more time,
and enable wakeup function earlier.
____________________
ip_sleep ____/ \_____________
___________________
wakeup_signal ____________/ \______
_______________________________
wakeup_en _______/
^ ^
|(1) |(2)
latch wakeup_signal mistakenly at (1), should latch it at (2);
Workaround: delay about 100us to enable wakeup, meanwhile decrease
debounce time.
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20211102025004.29156-2-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/rcu')
0 files changed, 0 insertions, 0 deletions