Bluetooth: hci_qca: get wakeup status from serdev device handle
authorZhengping Jiang <jiangzp@google.com>
Thu, 2 Feb 2023 17:47:01 +0000 (09:47 -0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 9 Feb 2023 22:19:08 +0000 (14:19 -0800)
commit03b0093f7b310493bc944a20f725228cfe0d3fea
treef3310ce64f5eb96effad1a900e446a57f86bc411
parentdf5703348813235874d851934e957c3723d71644
Bluetooth: hci_qca: get wakeup status from serdev device handle

Bluetooth controller attached via the UART is handled by the serdev driver.
Get the wakeup status from the device handle through serdev, instead of the
parent path.

Fixes: c1a74160eaf1 ("Bluetooth: hci_qca: Add device_may_wakeup support")
Signed-off-by: Zhengping Jiang <jiangzp@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_qca.c