[PATCH] staging: comedi: usbduxsigma: set *_cmd_running flags before submitting urbs
Ian Abbott
abbotti at mev.co.uk
Fri Jul 26 09:56:08 UTC 2013
On 2013-07-26 00:21, H Hartley Sweeten wrote:
> As pointed out by Ian Abbott, the *_cmd_running flags should be set
> before submitting the urbs. There is a possible race condition where
> an urb could complete and the flag is checked in the completion
> routine before it's set.
>
> Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
> Cc: Ian Abbott <abbotti at mev.co.uk>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Acked-by: Ian Abbott <abbotti at mev.co.uk>
Reviewed-by: Ian Abbott <abbotti at mev.co.uk>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti at mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
More information about the devel
mailing list