greybus: operation: fix operation ordering
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 22 Jul 2015 15:49:17 +0000 (17:49 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 22 Jul 2015 18:10:33 +0000 (11:10 -0700)
commitb4bd734ea60c4fd5a79c0e7fff4940686ff3cbc8
tree2c65969a821597246d088d307de1bde06e15a276
parent583cbf50e0a4c8918811f245860922353420a378
greybus: operation: fix operation ordering

Make the operation work queue single threaded.

The operation work queue was meant to be single threaded, but due to a
missing flag instead allowed one active task per CPU, something which
could lead to requests being processed out of order on SMP systems.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Tested-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c