summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorDavid Lin <dtwlin@google.com>2016-06-08 09:39:00 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-06-08 10:21:34 -0700
commit8fb76c3cfd5c54cb0d8713436d480a8062217d5c (patch)
tree7e332a9bdfc3c8eeb36dd6b5105a397d4a8aa73f /drivers/staging/greybus/greybus_protocols.h
parent44d6449350b866cbea613aabe5aba4aa640791cd (diff)
downloadop-kernel-dev-8fb76c3cfd5c54cb0d8713436d480a8062217d5c.zip
op-kernel-dev-8fb76c3cfd5c54cb0d8713436d480a8062217d5c.tar.gz
greybus: svc: pwrmon: validate svc protocol op status when getting rail names
AP should check for Greybus SVC Protocol Operation Status to determine if the operation was successfully completed by the SVC Testing Done: - Successfully getting the rail names in the pwrmon_dummy sandbox branch Signed-off-by: David Lin <dtwlin@google.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 8125fb7..3c6415f 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -1145,6 +1145,7 @@ struct gb_svc_pwrmon_rail_count_get_response {
#define GB_SVC_PWRMON_RAIL_NAME_BUFSIZE 32
struct gb_svc_pwrmon_rail_names_get_response {
+ __u8 status;
__u8 name[0][GB_SVC_PWRMON_RAIL_NAME_BUFSIZE];
} __packed;
OpenPOWER on IntegriCloud