Re: kernel 2.6.31.-rc1 drivers/usb/class/cdc-acm.c patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Jul 2009, Weng, Wending wrote:

> +		/* Normally, the tasklet must be kicked unconditionally
> +		so the queue cannot dry up, however, if the cable is disconnected,
> +		or whatever fatal error, it must not reschedule any URB */
> +
> +                // Stop rescheduling any URB in case the connection is shutdown
> +                if ((urb->status == -ESHUTDOWN) || (urb->status == -EPROTO))

-EPROTO is not a fatal error; it does not indicate the connection has 
been shut down.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux