Commit 811ae81
xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
When the xHCI is quirked with XHCI_RESET_ON_RESUME, runtime resume
routine also resets the controller.
This is bad for USB drivers without reset_resume callback, because
there's no subsequent call of usb_dev_complete() ->
usb_resume_complete() to force rebinding the driver to the device. For
instance, btusb device stops working after xHCI controller is runtime
resumed, if the controlled is quirked with XHCI_RESET_ON_RESUME.
So always take XHCI_RESET_ON_RESUME into account to solve the issue.
Cc: <stable@vger.kernel.org>
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20211210141735.1384209-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 6a97cee commit 811ae81
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3934 | 3934 | | |
3935 | 3935 | | |
3936 | 3936 | | |
3937 | | - | |
3938 | 3937 | | |
3939 | 3938 | | |
3940 | 3939 | | |
3941 | 3940 | | |
3942 | 3941 | | |
3943 | 3942 | | |
3944 | 3943 | | |
3945 | | - | |
3946 | 3944 | | |
3947 | 3945 | | |
3948 | 3946 | | |
| |||
4094 | 4092 | | |
4095 | 4093 | | |
4096 | 4094 | | |
4097 | | - | |
4098 | 4095 | | |
4099 | 4096 | | |
4100 | 4097 | | |
4101 | 4098 | | |
4102 | 4099 | | |
4103 | 4100 | | |
4104 | | - | |
4105 | 4101 | | |
4106 | 4102 | | |
4107 | 4103 | | |
| |||
0 commit comments