42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
diff --git a/drivers/bluetooth/rtk_btusb.c b/drivers/bluetooth/rtk_btusb.c
|
|
index 5db18841..ad74ec9e 100644
|
|
--- a/drivers/bluetooth/rtk_btusb.c
|
|
+++ b/drivers/bluetooth/rtk_btusb.c
|
|
@@ -3064,9 +3064,6 @@ static int btusb_open(struct hci_dev *hdev)
|
|
struct btusb_data *data = GET_DRV_DATA(hdev);
|
|
int err = 0;
|
|
|
|
- RTKBT_INFO("%s: Start, PM usage count %d", __func__,
|
|
- atomic_read(&(data->intf->pm_usage_cnt)));
|
|
-
|
|
err = usb_autopm_get_interface(data->intf);
|
|
if (err < 0)
|
|
return err;
|
|
@@ -3095,16 +3092,12 @@ static int btusb_open(struct hci_dev *hdev)
|
|
|
|
done:
|
|
usb_autopm_put_interface(data->intf);
|
|
- RTKBT_INFO("%s: End, PM usage count %d", __func__,
|
|
- atomic_read(&(data->intf->pm_usage_cnt)));
|
|
return 0;
|
|
|
|
failed:
|
|
clear_bit(BTUSB_INTR_RUNNING, &data->flags);
|
|
clear_bit(HCI_RUNNING, &hdev->flags);
|
|
usb_autopm_put_interface(data->intf);
|
|
- RTKBT_ERR("%s: Failed, PM usage count %d", __func__,
|
|
- atomic_read(&(data->intf->pm_usage_cnt)));
|
|
return err;
|
|
}
|
|
|
|
@@ -3610,9 +3603,6 @@ static void btusb_waker(struct work_struct *work)
|
|
struct btusb_data *data = container_of(work, struct btusb_data, waker);
|
|
int err;
|
|
|
|
- RTKBT_DBG("%s: PM usage count %d", __func__,
|
|
- atomic_read(&data->intf->pm_usage_cnt));
|
|
-
|
|
err = usb_autopm_get_interface(data->intf);
|
|
if (err < 0)
|
|
return;
|