switch (urb->status) {
case -EPIPE:
dev_warn(dev, "Broken IN pipe detected\n");
+ most_stop_enqueue(&mdev->iface, channel);
mbo->status = MBO_E_INVAL;
mdev->clear_work[channel].pipe = urb->pipe;
schedule_work(&mdev->clear_work[channel].ws);
if (usb_clear_halt(mdev->usb_device, pipe))
dev_warn(&mdev->usb_device->dev, "Failed to reset endpoint.\n");
- if (mdev->conf[channel].direction & MOST_CH_TX)
- most_resume_enqueue(&mdev->iface, channel);
+ most_resume_enqueue(&mdev->iface, channel);
mutex_unlock(&mdev->io_mutex);
}