]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
authorVincent Palatin <vpalatin@chromium.org>
Wed, 21 Jul 2021 09:25:16 +0000 (11:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 09:36:34 +0000 (11:36 +0200)
commitbaf35bdae730ae43b40296b88e5dcac93b9b91ff
tree5dce78d5853244accbcb53401a348786d40a417f
parentd511e2c430a6835c9bcae03420eb9450d6326072
Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"

This reverts commit 123e3dbf309ac64338826c2ebfc3c7af6aace474.

While the patch was working as stated,ie preventing the L850-GL LTE modem
from crashing on some U3 wake-ups due to a race condition between the
host wake-up and the modem-side wake-up, when using the MBIM interface,
this would force disabling the USB runtime PM on the device.

The increased power consumption is significant for LTE laptops,
and given that with decently recent modem firmwares, when the modem hits
the bug, it automatically recovers (ie it drops from the bus, but
automatically re-enumerates after less than half a second, rather than being
stuck until a power cycle as it was doing with ancient firmware), for
most people, the trade-off now seems in favor of re-enabling it by
default.

For people with access to the platform code, the bug can also be worked-around
successfully by changing the USB3 LFPM polling off-time for the XHCI
controller in the BIOS code.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Link: https://lore.kernel.org/r/20210721092516.2775971-1-vpalatin@chromium.org
Fixes: 123e3dbf309a ("USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c