greybus: audio: Allocate protocol and class values
authorMark Greer <mgreer@animalcreek.com>
Fri, 13 Nov 2015 21:44:13 +0000 (14:44 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 17 Nov 2015 06:18:52 +0000 (22:18 -0800)
Allocate protocol and class values for the Audio Device Class
Protocol.  Two values of each type are allocated: one for Audio
Management Connections and one for Audio Data Connections.

Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_manifest.h

index c36c4d1d30f9fe3803dafa5ffa4c93dfe39f5695..947b71c88134cd6941de46a6a489e9e57164011a 100644 (file)
@@ -40,8 +40,8 @@ enum greybus_protocol {
        GREYBUS_PROTOCOL_LIGHTS         = 0x0f,
        GREYBUS_PROTOCOL_VIBRATOR       = 0x10,
        GREYBUS_PROTOCOL_LOOPBACK       = 0x11,
-       /* 0x12 is unused */
-       /* 0x13 is unused */
+       GREYBUS_PROTOCOL_AUDIO_MGMT     = 0x12,
+       GREYBUS_PROTOCOL_AUDIO_DATA     = 0x13,
        GREYBUS_PROTOCOL_SVC            = 0x14,
        GREYBUS_PROTOCOL_FIRMWARE       = 0x15,
                /* ... */
@@ -68,8 +68,8 @@ enum greybus_class_type {
        GREYBUS_CLASS_LIGHTS            = 0x0f,
        GREYBUS_CLASS_VIBRATOR          = 0x10,
        GREYBUS_CLASS_LOOPBACK          = 0x11,
-       /* 0x12 is unused */
-       /* 0x13 is unused */
+       GREYBUS_CLASS_AUDIO_MGMT        = 0x12,
+       GREYBUS_CLASS_AUDIO_DATA        = 0x13,
        GREYBUS_CLASS_SVC               = 0x14,
        GREYBUS_CLASS_FIRMWARE          = 0x15,
                /* ... */