[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190828121349.24966-1-msuchanek@suse.de>
Date: Wed, 28 Aug 2019 14:13:49 +0200
From: Michal Suchanek <msuchanek@...e.de>
To: Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
linux-bluetooth@...r.kernel.org
Cc: Michal Suchanek <msuchanek@...e.de>, linux-kernel@...r.kernel.org,
oneukum@...e.com, acho@...e.com, tiwai@...e.com, jlee@...e.com
Subject: [PATCH] Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
This reverts commit a0085f2510e8976614ad8f766b209448b385492f.
After this commit systems wake up at random, most commonly when
- put to sleep while bluetooth audio stream is running
- connected bluetooth audio device is powered off while system is
asleep
This is broken since the commit was merged up to 5.3-rc6.
Signed-off-by: Michal Suchanek <msuchanek@...e.de>
---
drivers/bluetooth/btusb.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index 5cf0734eb31b..5c67d41ca254 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -1170,10 +1170,6 @@ static int btusb_open(struct hci_dev *hdev)
}
data->intf->needs_remote_wakeup = 1;
- /* device specific wakeup source enabled and required for USB
- * remote wakeup while host is suspended
- */
- device_wakeup_enable(&data->udev->dev);
if (test_and_set_bit(BTUSB_INTR_RUNNING, &data->flags))
goto done;
@@ -1238,7 +1234,6 @@ static int btusb_close(struct hci_dev *hdev)
goto failed;
data->intf->needs_remote_wakeup = 0;
- device_wakeup_disable(&data->udev->dev);
usb_autopm_put_interface(data->intf);
failed:
--
2.22.0
Powered by blists - more mailing lists