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>
Showing
- include/net/bluetooth/hci_core.h 23 additions, 0 deletionsinclude/net/bluetooth/hci_core.h
- net/bluetooth/hci_core.c 86 additions, 0 deletionsnet/bluetooth/hci_core.c
- net/bluetooth/hci_request.c 15 additions, 0 deletionsnet/bluetooth/hci_request.c
- net/bluetooth/hci_request.h 2 additions, 0 deletionsnet/bluetooth/hci_request.h
Loading
Please register or sign in to comment