Re: [PATCH v3] Bluetooth: hci_serdev: stop write_work before closing the port
From: patchwork-bot+bluetooth
Date: Mon Nov 23 2026 - 14:10:10 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Sat, 21 Nov 2026 23:56:48 +0800 you wrote:
> With HCI_QUIRK_NON_PERSISTENT_SETUP, hci_uart_close() closes the serdev
> port without keeping write_work off. The hci_uart_flush() call right
> before closing re-enables write_work and may replay a recorded wakeup,
> and hci_uart_tx_wakeup() queues it from any caller that passed the
> HCI_UART_PROTO_READY test, such as the serdev write_wakeup callback.
> write_work can then call ttyport_write_buf() while ttyport_close()
> releases the tty, so it writes through a released tty.
>
> [...]
Here is the summary with links:
- [v3] Bluetooth: hci_serdev: stop write_work before closing the port
https://git.kernel.org/bluetooth/bluetooth-next/c/62fd917f6d2d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html