greybus: audio: Allocate protocol and class values

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>
This commit is contained in:
Mark Greer 2015-11-13 14:44:13 -07:00 committed by Greg Kroah-Hartman
parent e3c25930d9
commit 80ee842825
1 changed files with 4 additions and 4 deletions

View 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,
/* ... */