This adds a call to the new hci_devcd_unregister() API during driver exit to cleanup devcoredump data and cancel delayed work, allowing hci interface to be unregistered properly. Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@xxxxxxx> --- drivers/bluetooth/btnxpuart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btnxpuart.c b/drivers/bluetooth/btnxpuart.c index c56b52bd8d98..91bf9812c8df 100644 --- a/drivers/bluetooth/btnxpuart.c +++ b/drivers/bluetooth/btnxpuart.c @@ -1866,6 +1866,7 @@ static void nxp_serdev_remove(struct serdev_device *serdev) } ps_cleanup(nxpdev); + hci_devcd_unregister(hdev); hci_unregister_dev(hdev); hci_free_dev(hdev); } -- 2.34.1