greybus: operation: use per-connection work queues
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 23 Jul 2015 08:50:02 +0000 (10:50 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 23 Jul 2015 19:55:25 +0000 (12:55 -0700)
commit5a5bc354c65d9e5f255f1861212ec5fa4852a891
treefc5646c6483bd0f097b71bb8a64cdfc0048195d7
parent10f9fa133a295fa0f2f36c1a481b7e8b82b12891
greybus: operation: use per-connection work queues

Replace the global operation work queue with per-connection work queues.

There is no need to keep operations strictly ordered across connections,
something which only adds unnecessary latency.

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