On Tue, 5 Feb 2019 gu...@kiener-muenchen.de wrote:
> Zitat von Alan Stern :
>
> > On Mon, 4 Feb 2019, Guido Kiener wrote:
> >
> >> From: Guido Kiener
> >>
> >> A reset e.g. calling ep_reset_338x() can happen while endpoints
> >> are enabled.
> >
> > How can this happen? That routine is called f
Zitat von Alan Stern :
On Mon, 4 Feb 2019, Guido Kiener wrote:
From: Guido Kiener
A reset e.g. calling ep_reset_338x() can happen while endpoints
are enabled.
How can this happen? That routine is called from only two places.
One is in net2280_disable(), so after the endpoint has already
On Mon, 4 Feb 2019, Guido Kiener wrote:
> From: Guido Kiener
>
> A reset e.g. calling ep_reset_338x() can happen while endpoints
> are enabled.
How can this happen? That routine is called from only two places.
One is in net2280_disable(), so after the endpoint has already been
disabled. The
From: Guido Kiener
A reset e.g. calling ep_reset_338x() can happen while endpoints
are enabled. The ep_reset_338x() sets ep->desc = NULL to mark
endpoint being invalid. A subsequent call of net2280_disable will
fail and return -EINVAL to parent function usb_ep_disable(),
which will fail, too, and