diff options
author | Ying Hsu <yinghsu@chromium.org> | 2022-07-04 18:33:24 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-21 17:09:48 -0700 |
commit | bee5395ced44c5a312348557eb2dfb0c2a7bfaa2 (patch) | |
tree | 44e698a4106871ff477b45b1a1c86b5cbb9d584e /drivers/gpio/gpio-tps6586x.c | |
parent | 6828b58307a92d6b626d4d1421ab7db6db125ba5 (diff) |
Bluetooth: Add default wakeup callback for HCI UART driver
Bluetooth HCI devices indicate if they are able to wakeup in the wakeup
callback since 'commit 4539ca67fe8e ("Bluetooth: Rename driver
.prevent_wake to .wakeup")'. This patch adds a default wakeup callback
for Bluetooth HCI UAR devices. It assumes Bluetooth HCI UART devices are
wakeable for backward compatibility. For those who need a customized
behavior, one can override it before calling hci_uart_register_device().
Fixes: 4539ca67fe8e ("Bluetooth: Rename driver .prevent_wake to .wakeup")
Signed-off-by: Ying Hsu <yinghsu@chromium.org>
Reviewed-by: Alain Michaud <alainm@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/gpio/gpio-tps6586x.c')
0 files changed, 0 insertions, 0 deletions