commit | 5feb5d2003499b1094d898c010a7604d7afddc4c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 30 00:30:58 2015 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Thu Jul 30 11:43:37 2015 -0500 |
tree | 2df8b717e10b72446186c1471dc84011e636a2fc | |
parent | 1c99cabfc95d3b08fbf06d558ebfa76b5303710c [diff] |
usb: gadget: m66592-udc: forever loop in set_feature() There is an "&&" vs "||" typo here so this loops 3000 times or if we get unlucky it could loop forever. Fixes: ceaa0a6eeadf ('usb: gadget: m66592-udc: add support for TEST_MODE') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felipe Balbi <balbi@ti.com>