[PATCH 0/3] Bluetooth: btmrvl_sdio: Refactor remote wakeup support
From: Abhishek Pandit-Subedi
Date: Wed Jun 10 2020 - 21:54:07 EST
Hi linux-bluetooth,
This patch series is refactoring the btmrvl driver to add better support
for controlling remote wakeup during suspend. Previously, the hci device
was getting created as /sys/devices/virtual/bluetooth/hci0 and there
wasn't a way to control wakeup for the device from userspace. This
series of changes adds the proper parent for the hci device, allows irq
configuration via power/wakeup and properly disables scanning during
suspend if wakeup isn't enabled.
This was tested on a Veyron Mighty Chromebook running the 4.19 kernel
with these patches. It passes both automated and manual suspend+resume
tests that make sure wakeup is working properly.
Thanks
Abhishek
Abhishek Pandit-Subedi (3):
Bluetooth: btmrvl_sdio: Set parent dev to hdev
Bluetooth: btmrvl_sdio: Implement prevent_wake
Bluetooth: btmrvl_sdio: Refactor irq wakeup
drivers/bluetooth/btmrvl_main.c | 11 +++++++++++
drivers/bluetooth/btmrvl_sdio.c | 13 ++++++++++---
2 files changed, 21 insertions(+), 3 deletions(-)
--
2.27.0.278.ge193c7cf3a9-goog