]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: svc: support status in svc_intf_activate response
authorJeffrey Carlyle <jcarlyle@google.com>
Wed, 11 May 2016 17:08:55 +0000 (10:08 -0700)
committerJeffrey Carlyle <jcarlyle@google.com>
Fri, 13 May 2016 01:20:34 +0000 (18:20 -0700)
commit03fba180ae4cc3bad27bd792e53dbb7ed2a9f7e7
treefebbbf5d9efc36ea5264c25a39a54b3224a035a7
parentc77bac08eca8b7dff3f76662cc8d439c111b8d0f
greybus: svc: support status in svc_intf_activate response

Update per Greybus spec. Status attribute added to activate
response to return more detailed information about errors during
activate. If the Greybus response is GB_OP_SUCCESS, the caller
must also check the status attribute in the response to determine
if any other errors occurred.

Testing done: along with matchine firmware change, verified that modules
              were detected and enumerated as expected.

Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/svc.c