]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: function: acm: make f_acm pass USB20CV Chapter9
authorFelipe Balbi <balbi@ti.com>
Mon, 29 Sep 2014 18:35:54 +0000 (13:35 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:48 +0000 (15:58 -0500)
commitfa8779a20e8bd7c54d585517f1d326f180789909
tree22e03456fbf8d7a1bc05ad5f30bb65d4fb7ff00b
parent53d4b33f5edd256181a72cbea791569098b11231
usb: gadget: function: acm: make f_acm pass USB20CV Chapter9

During Halt Endpoint Test, our interrupt endpoint
will be disabled, which will clear out ep->desc
to NULL. Unless we call config_ep_by_speed() again,
we will not be able to enable this endpoint which
will make us fail that test.

Fixes: ce991a4 (usb: gadget: Clear usb_endpoint_descriptor
inside the struct usb_ep on disable)
Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_acm.c