From 2ffdc334cd8d001bd56308b7c3545465920672c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=98=E6=80=80?= Date: Thu, 19 Dec 2024 22:20:28 +0800 Subject: [PATCH] deepin: drivers: bluetooth: btusb: fix btmtk timeout after queue reset device Signed-off-by: Wentao Guan --- drivers/bluetooth/btusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index bb9070856654..7f75089ae278 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2713,7 +2713,7 @@ static int btusb_mtk_reset(struct hci_dev *hdev, void *rst_data) err = btmtk_usb_subsys_reset(hdev, btmtk_data->dev_id); - usb_queue_reset_device(data->intf); + usb_autopm_put_interface(data->intf); clear_bit(BTMTK_HW_RESET_ACTIVE, &btmtk_data->flags); return err;