Message ID | 20230403122430.1024235-2-neeraj.sanjaykale@nxp.com |
---|---|
State | Accepted |
Commit | 051711980f5a1eb91ffa2237a9f2a08a96912787 |
Headers | show |
Series | [v1] Bluetooth: btnxpuart: Deasset UART break before closing serdev device | expand |
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Mon, 3 Apr 2023 17:54:28 +0530 you wrote: > 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> > --- > drivers/bluetooth/btnxpuart.c | 1 + > 1 file changed, 1 insertion(+) Here is the summary with links: - [v1] Bluetooth: btnxpuart: Deasset UART break before closing serdev device https://git.kernel.org/bluetooth/bluetooth-next/c/051711980f5a You are awesome, thank you!
diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c index 34f44da9ef4d..ad9e25e0c350 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;
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> --- drivers/bluetooth/btnxpuart.c | 1 + 1 file changed, 1 insertion(+)