greybus: operation: make the timeout a per-operation thing, not per-connection
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 07:40:09 +0000 (15:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 07:40:09 +0000 (15:40 +0800)
commit708971e43c29d103c22409cf66b6213033518da3
tree335ed345e120291ff80bdc247cf3e16cfba69322
parent4afbba0703b2b2a2a9355e5d29a7a8ddcff92953
greybus: operation: make the timeout a per-operation thing, not per-connection

An operation is what can timeout, not a connection itself.  So notify
the operation timedout, and the connection can then do with it as it
sees fit, if necessary.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h