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)));
+// 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)
done:
usb_autopm_put_interface(data->intf);
- RTKBT_INFO("%s: End, PM usage count %d", __func__,
- atomic_read(&(data->intf->pm_usage_cnt)));
+// 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)));
+// RTKBT_ERR("%s: Failed, PM usage count %d", __func__,
+// atomic_read(&(data->intf->pm_usage_cnt)));
return err;
}
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));
+// 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)