diff options
author | Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> | 2023-04-03 14:24:28 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-24 07:01:29 +0200 |
commit | 86d55f124b52de2ba0d066d89b766bcc0387fd72 (patch) | |
tree | 69159364984ff8ba38ba0e262e5b29f990bda8d6 /drivers/bluetooth | |
parent | Bluetooth: btnxpuart: Add support to download helper FW file for w8997 (diff) | |
download | linux-86d55f124b52de2ba0d066d89b766bcc0387fd72.tar.xz linux-86d55f124b52de2ba0d066d89b766bcc0387fd72.zip |
Bluetooth: btnxpuart: Deasset UART break before closing serdev device
This adds a call to ps_wakeup() before closing the serdev device, to
de-assert UART break.
Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/btnxpuart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c index 32e22044b6b2..12cc53c0b88b 100644 --- a/drivers/bluetooth/btnxpuart.c +++ b/drivers/bluetooth/btnxpuart.c @@ -1167,6 +1167,7 @@ static int btnxpuart_close(struct hci_dev *hdev) { struct btnxpuart_dev *nxpdev = hci_get_drvdata(hdev); + ps_wakeup(nxpdev); serdev_device_close(nxpdev->serdev); clear_bit(BTNXPUART_SERDEV_OPEN, &nxpdev->tx_state); return 0; |