]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
greybus: move timeout out of gb_operation_insert()
authorAlex Elder <elder@linaro.org>
Wed, 12 Nov 2014 21:17:52 +0000 (15:17 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 21:11:35 +0000 (13:11 -0800)
commit8350e7a01110cbee813256a8ebcda99bf11b8ec3
tree749e778c4d197dd10494cac1c1510a1b0a0f6250
parent10520528fee29f29ec3d4d3f651294247b07c0a9
greybus: move timeout out of gb_operation_insert()

Currently, gb_operation_insert() arranges to time out a request if
it takes too long.  Move this out of that function and into
gb_operation_request_send(), so we know it's getting set up after
the request has actually be sent.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/operation.c