commit | b4ecda3e965a87881a94017cb0cd484d65799261 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Thu Jul 03 12:02:03 2008 -0400 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Jul 07 09:01:49 2008 -0400 |
tree | bfd5ebf739f1fd2296dad27a8726634abc72716c | |
parent | 4ad88901dd675acb9c8d1eca1f083c3d22cbbd4d [diff] |
Input: yealink - reliably kill urbs Yealink uses two URBs that submit each other. This arrangement cannot be reliably killed with usb_kill_urb() alone, as there's a window during which the wrong URB may be killed. The fix is to introduce a flag. [dtor@mail.ru: remove spinlock, flag alone should be enough] Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>