commit | 8c3d609275f7f39d308e5c40a6220c67454f7a28 | [log] [tgz] |
---|---|---|
author | Vahram Aharonyan <vahrama@synopsys.com> | Wed Apr 27 20:20:46 2016 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Apr 28 09:40:16 2016 +0300 |
tree | 68736b2d5917d6d502270270f785570b53a73276 | |
parent | 7b9cc7a2b101cc73f6abe3468441381c98817e54 [diff] |
usb: dwc2: gadget: Check for ep0 in enable Replaced the WARN_ON with a check and return of -EINVAL in the dwc2_hsotg_ep_enable function if ep0 is passed in. Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>