commit | f9c56cdd3905c96c600456203637bd7ec8ec6383 | [log] [tgz] |
---|---|---|
author | Ido Shayevitz <idos@codeaurora.org> | Wed Feb 08 13:56:48 2012 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Fri Feb 24 12:22:38 2012 +0200 |
tree | cfa0cd39d0798a0c3e4b57bf2ce3e9e75922c769 | |
parent | a003c187cac7a88101fe7f254bde6582865f7908 [diff] |
usb: gadget: Clear usb_endpoint_descriptor inside the struct usb_ep on disable This fix a bug in f_serial, which expect the ep->desc to be NULL after disabling an endpoint. Cc: stable@vger.kernel.org Signed-off-by: Ido Shayevitz <idos@codeaurora.org> Signed-off-by: Felipe Balbi <balbi@ti.com>