Re: [PATCH 10/14] uas: correctly label reset functions

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

 



On Wed, 2016-02-17 at 21:37 +0300, Sergei Shtylyov wrote:
> > @@ -492,6 +494,20 @@ static void uas_tmf_cmplt(struct urb *urb)
> >       if (status < 0) {
> >               devinfo->deathrow = NULL;
> >               complete(&devinfo->deathknell);
> > +             switch (status) {
> > +             case -ESHUTDOWN:
> > +             case -ENODEV:
> > +                     devinfo->tmf_catastrophic = true;
> > +                     break;
> > +             case -EPIPE:
> > +             /* small packages, hence no partial transmission */
> 
>     Not packets?

Good suggestion. It shall be changed in the next iteration.

	Regards
		Oliver


--
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