diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-07-30 00:30:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-21 10:05:37 -0700 |
commit | 6e9660ca6fbf805c26aaef8856eb4680c689a5d2 (patch) | |
tree | c0011bda8d803b8c4d68a94286bee96df3954b04 /drivers/media | |
parent | 533f267763456f75d57bd590830629bf28fe3d8c (diff) |
usb: gadget: m66592-udc: forever loop in set_feature()
commit 5feb5d2003499b1094d898c010a7604d7afddc4c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions