]> git.baikalelectronics.ru Git - kernel.git/commit
USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
authorVincent Palatin <vpalatin@chromium.org>
Fri, 19 Mar 2021 12:48:02 +0000 (13:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 12:27:40 +0000 (13:27 +0100)
commit123e3dbf309ac64338826c2ebfc3c7af6aace474
treea2616e4bb4486070b58d22c4d0416d72fd2e91c5
parentdcb1f2f87ec4a742175b93cf1bb9c903a8666145
USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem

This LTE modem (M.2 card) has a bug in its power management:
there is some kind of race condition for U3 wake-up between the host and
the device. The modem firmware sometimes crashes/locks when both events
happen at the same time and the modem fully drops off the USB bus (and
sometimes re-enumerates, sometimes just gets stuck until the next
reboot).

Tested with the modem wired to the XHCI controller on an AMD 3015Ce
platform. Without the patch, the modem dropped of the USB bus 5 times in
3 days. With the quirk, it stayed connected for a week while the
'runtime_suspended_time' counter incremented as excepted.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Link: https://lore.kernel.org/r/20210319124802.2315195-1-vpalatin@chromium.org
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c