|
@@ -518,8 +518,8 @@ static void do_pm_control(struct work_struct *work)
|
|
|
usb_autopm_put_interface(udev->intf);
|
|
|
|
|
|
spin_lock_irqsave(&tx->lock, flags);
|
|
|
- if (!(udev->usbdev->state & USB_STATE_SUSPENDED)
|
|
|
- && (!list_empty(&tx->hci_list) || !list_empty(&tx->sdu_list))) {
|
|
|
+ if (!(udev->usbdev->state & USB_STATE_SUSPENDED) &&
|
|
|
+ (!list_empty(&tx->hci_list) || !list_empty(&tx->sdu_list))) {
|
|
|
struct usb_tx *t, *temp;
|
|
|
|
|
|
list_for_each_entry_safe(t, temp, &tx->pending_list, p_list) {
|