Input: yealink - reliably kill urbs
authorOliver Neukum <oliver@neukum.org>
Thu, 3 Jul 2008 16:02:03 +0000 (12:02 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 7 Jul 2008 13:01:49 +0000 (09:01 -0400)
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>

No differences found