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)
commit52ec49a5e56a27c5b6f8217708783eff39f24c16
tree22e03456fbf8d7a1bc05ad5f30bb65d4fb7ff00b
parente975be287b87e0862b0f57e7326a79667e32a90a
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: f9c56cd (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
This page took 0.02527 seconds and 5 git commands to generate.