Commit e0b179ee authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarPerry Hung <perry@leaflabs.com>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 58b978c4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment