commit | 81e9d14a53eb1abfbe6ac828a87a2deb4702b5f1 | [log] [tgz] |
---|---|---|
author | Mian Yousaf Kaukab <yousaf.kaukab@intel.com> | Mon Oct 19 16:25:15 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Mon Oct 19 09:25:53 2015 -0500 |
tree | e107025ad29a2348cdd20de10777adc5ec2266df | |
parent | dc8730846948e517169f630826cd2c97615f5ee8 [diff] |
usb: gadget: net2280: restore ep_cfg after defect7374 workaround Defect 7374 workaround enables all GPEP as endpoint 0. Restore endpoint number when defect 7374 workaround is disabled. Otherwise, check to match USB endpoint number to hardware endpoint number in net2280_enable() fails. Cc: <stable@vger.kernel.org> # 4.2 Reported-by: Paul Jones <p.jones@teclyn.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>