Re: chipidea udc: ctrl traffic on endpoint 8

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

 



Le Fri, 17 Jan 2014 16:54:07 +0100,
Michael Grzeschik <mgr@xxxxxxxxxxxxxx> a écrit :

> Hi Peter,
> 
> we recently see a lot of warnings with the chipidea udc.
> The driver is running as g_ether gadget.
> 
> cat drivers/usb/chipidea/udc.c
> ...
> 
>         if (i != 0) {
>                 dev_warn(ci->dev, "ctrl traffic at endpoint %d\n", i);
>                 continue;
>         }
> ...
> 
> 
> Do you know if this condition is correct anyway? It checks
> for fifonumbers different to zero. As I know fifo zero is
> ep0out. The core has the ep0in fifo on position 8, that
> should also handle ctrl traffic IMHO.
> 
How many fifo have your controller (hw_ep_max) ?

When you say fifo on position 8, you mean in software (in ci_hw_ep
array), but not in hardware (ENDPTCTRLx) ?

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