greybus: ap.c: our workqueue should be ordered
SVC messages come in in an "order", so don't mess them up by processing them out of order. Fix this by making our work queue ordered, which should keep everything in line. Reported-by: Perry Hung <perry@leaflabs.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
58b978c48b
commit
e0b179ee78
@ -356,7 +356,7 @@ EXPORT_SYMBOL_GPL(greybus_svc_in);
|
||||
|
||||
int gb_ap_init(void)
|
||||
{
|
||||
ap_workqueue = alloc_workqueue("greybus_ap", 0, 1);
|
||||
ap_workqueue = alloc_ordered_workqueue("greybus_ap", 0);
|
||||
if (!ap_workqueue)
|
||||
return -ENOMEM;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user