]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Bluetooth: btusb: Disable runtime suspend on Realtek devices"
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Wed, 29 Jul 2020 23:17:43 +0000 (16:17 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Jul 2020 09:55:10 +0000 (11:55 +0200)
commitc5c7dce66c06d3b4fdb639f5e28964197f151e7b
treeea71af18b3fdf995092b7f56e67d281e5d35bfa6
parentf71b55a3b9bb108d7219b9f87671139ad592ec9e
Revert "Bluetooth: btusb: Disable runtime suspend on Realtek devices"

This reverts commit de8d7c3f610f18d54aa11165acc75376c49c55a0.

Testing this change on a board with RTL8822CE, I found that enabling
autosuspend has no effect on the stability of the system. The board
continued working after autosuspend, suspend and reboot.

The original commit makes it impossible to enable autosuspend on working
systems so it should be reverted. Disabling autosuspend should be done
via module param or udev in userspace instead.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Acked-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c