From: Mark Greer Date: Fri, 13 Nov 2015 21:44:13 +0000 (-0700) Subject: greybus: audio: Allocate protocol and class values X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80ee842825d5f40a21b4257dd98b74f2c92e5f02;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/greybus_manifest.h b/drivers/staging/greybus/greybus_manifest.h index c36c4d1d30f9..947b71c88134 100644 --- a/drivers/staging/greybus/greybus_manifest.h +++ b/drivers/staging/greybus/greybus_manifest.h @@ -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, /* ... */