[PATCH] quirk support for usbatm + EILSEQ quirk

matthieu castet castet.matthieu at free.fr
Mon Jun 27 16:08:16 EDT 2005


Hi Duncan,
Duncan Sands wrote:
> Hi Matthieu,
> 
> 
>>It also add EILSEQ quirk needed for eagle chipset.
> 
> 
> this test seems to be wrong:
> 
> -       if (unlikely(urb->status))
> +       if (unlikely(urb->status) && 
> +                       ( channel->usbatm->driver->quirk & IGNORE_ELISEQ && 
> +                         urb->status != -EILSEQ ))
>                 /* throttle processing in case of an error */
> 
> Shouldn't it be:
> 
> +       if (unlikely(urb->status && 
> +                       ( !(channel->usbatm->driver->quirk & IGNORE_ELISEQ) || 
> +                         urb->status != -EILSEQ )))
> 
> ?
> 
> 
yes you're right.
attached a new patch with 's/ELISEQ/EILSEQ'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quirk.patch
Type: text/x-patch
Size: 1167 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/usbatm/attachments/20050627/995d7712/quirk.bin


More information about the Usbatm mailing list