Commit 80ee8428 authored by Mark Greer's avatar Mark Greer Committed by Greg Kroah-Hartman

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: default avatarMark Greer <mgreer@animalcreek.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent e3c25930
...@@ -40,8 +40,8 @@ enum greybus_protocol { ...@@ -40,8 +40,8 @@ enum greybus_protocol {
GREYBUS_PROTOCOL_LIGHTS = 0x0f, GREYBUS_PROTOCOL_LIGHTS = 0x0f,
GREYBUS_PROTOCOL_VIBRATOR = 0x10, GREYBUS_PROTOCOL_VIBRATOR = 0x10,
GREYBUS_PROTOCOL_LOOPBACK = 0x11, GREYBUS_PROTOCOL_LOOPBACK = 0x11,
/* 0x12 is unused */ GREYBUS_PROTOCOL_AUDIO_MGMT = 0x12,
/* 0x13 is unused */ GREYBUS_PROTOCOL_AUDIO_DATA = 0x13,
GREYBUS_PROTOCOL_SVC = 0x14, GREYBUS_PROTOCOL_SVC = 0x14,
GREYBUS_PROTOCOL_FIRMWARE = 0x15, GREYBUS_PROTOCOL_FIRMWARE = 0x15,
/* ... */ /* ... */
...@@ -68,8 +68,8 @@ enum greybus_class_type { ...@@ -68,8 +68,8 @@ enum greybus_class_type {
GREYBUS_CLASS_LIGHTS = 0x0f, GREYBUS_CLASS_LIGHTS = 0x0f,
GREYBUS_CLASS_VIBRATOR = 0x10, GREYBUS_CLASS_VIBRATOR = 0x10,
GREYBUS_CLASS_LOOPBACK = 0x11, GREYBUS_CLASS_LOOPBACK = 0x11,
/* 0x12 is unused */ GREYBUS_CLASS_AUDIO_MGMT = 0x12,
/* 0x13 is unused */ GREYBUS_CLASS_AUDIO_DATA = 0x13,
GREYBUS_CLASS_SVC = 0x14, GREYBUS_CLASS_SVC = 0x14,
GREYBUS_CLASS_FIRMWARE = 0x15, GREYBUS_CLASS_FIRMWARE = 0x15,
/* ... */ /* ... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment