We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8693265 commit 1ffdb51Copy full SHA for 1ffdb51
drivers/bluetooth/btusb.c
@@ -1170,10 +1170,6 @@ static int btusb_open(struct hci_dev *hdev)
1170
}
1171
1172
data->intf->needs_remote_wakeup = 1;
1173
- /* device specific wakeup source enabled and required for USB
1174
- * remote wakeup while host is suspended
1175
- */
1176
- device_wakeup_enable(&data->udev->dev);
1177
1178
if (test_and_set_bit(BTUSB_INTR_RUNNING, &data->flags))
1179
goto done;
@@ -1238,7 +1234,6 @@ static int btusb_close(struct hci_dev *hdev)
1238
1234
goto failed;
1239
1235
1240
1236
data->intf->needs_remote_wakeup = 0;
1241
- device_wakeup_disable(&data->udev->dev);
1242
1237
usb_autopm_put_interface(data->intf);
1243
1244
failed:
0 commit comments