]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/bluetooth/hci_request.h
Bluetooth: Handle PM_SUSPEND_PREPARE and PM_POST_SUSPEND
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Wed, 11 Mar 2020 15:54:00 +0000 (08:54 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Mar 2020 17:00:48 +0000 (18:00 +0100)
commit9952d90ea2885d7cbf80cd233f694f09a9c0eaec
tree9b954ac288ac5dbcc782127c2b964012034fd2f6
parent72da7b2ccabd5fd93d6b8d0093936e980602652b
Bluetooth: Handle PM_SUSPEND_PREPARE and PM_POST_SUSPEND

Register for PM_SUSPEND_PREPARE and PM_POST_SUSPEND to make sure the
Bluetooth controller is prepared correctly for suspend/resume. Implement
the registration, scheduling and task handling portions only in this
patch.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/hci_request.c
net/bluetooth/hci_request.h