aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-08-10 12:58:40 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-10 15:36:34 +0200
commit83d474f7aa467a8cc4cb33337a790fea891a98f1 (patch)
tree3db59e398c2cca83fdb3e83f41d0929ea73bd8bd /drivers/staging/greybus/greybus_protocols.h
parentgreybus: greybus_protocols: fix apba vendor-request comment (diff)
downloadlinux-dev-83d474f7aa467a8cc4cb33337a790fea891a98f1.tar.xz
linux-dev-83d474f7aa467a8cc4cb33337a790fea891a98f1.zip
greybus: es2: fix USB vendor-request prefixes
Make sure to use the common GB_APB prefix for all APBA USB vendor requests. Signed-off-by: Johan Hovold <johan@hovoldconsulting.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.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 63fd48d991a1..4bf494c8d856 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -250,17 +250,17 @@ struct gb_control_intf_pm_response {
#define GB_APB_REQUEST_CPORT_FEAT_EN 0x0b
#define GB_APB_REQUEST_CPORT_FEAT_DIS 0x0c
-/* TimeSync commands */
-#define REQUEST_TIMESYNC_ENABLE 0x0d
-#define REQUEST_TIMESYNC_DISABLE 0x0e
-#define REQUEST_TIMESYNC_AUTHORITATIVE 0x0f
-#define REQUEST_TIMESYNC_GET_LAST_EVENT 0x10
+/* TimeSync requests */
+#define GB_APB_REQUEST_TIMESYNC_ENABLE 0x0d
+#define GB_APB_REQUEST_TIMESYNC_DISABLE 0x0e
+#define GB_APB_REQUEST_TIMESYNC_AUTHORITATIVE 0x0f
+#define GB_APB_REQUEST_TIMESYNC_GET_LAST_EVENT 0x10
/* requests to set Greybus CPort flags */
#define GB_APB_REQUEST_CPORT_FLAGS 0x11
-/* ARPC command */
-#define APBA_REQUEST_ARPC_RUN 0x12
+/* ARPC request */
+#define GB_APB_REQUEST_ARPC_RUN 0x12
struct gb_apb_request_cport_flags {
__le32 flags;