mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user