commit | 0559894e16c924701ea8dcede9a28571f7062c92 | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Wed Jul 06 16:58:44 2011 +0530 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 10:29:06 2011 -0700 |
tree | f4f7578e62e2927e26119e29b211a8741804c5a2 | |
parent | 518e230f4a99c22542ff2c9919a9afdd42977cbe [diff] |
USB: gadget: ci13xx_udc: Fix bug in halting a control endpoint A new setup packet can arrive on the control endpoint exactly when software tries to halt it. The halt condition will continue to be cleared by the hardware. The current code is ignoring this scenario and polling for the halt condition to be true. Return success from ep_set_halt upon a new setup packet arrival. CRs-fixed: 299838 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>