]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
greybus: svc: Change GB_SVC_TYPE_LINK_CONFIG to 0x10
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 23 Dec 2015 16:48:59 +0000 (16:48 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 23 Dec 2015 21:00:28 +0000 (13:00 -0800)
The greybus specification reserves SVC type 0x0d-0x0f for timesync.
53124d73 ('svc: Add support for the link config operation') allocated the
next available type 0x0d which conflicts with the specification. Change the
type to 0x10 to ensure kernel and specification agree.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h

index 53c1dea6b16d030533c0af930fcc85e5159ba775..773e1ab789c02bba11e7f4db47b19d59b0b0453f 100644 (file)
@@ -730,7 +730,7 @@ struct gb_spi_transfer_response {
 #define GB_SVC_TYPE_DME_PEER_SET       0x0a
 #define GB_SVC_TYPE_ROUTE_CREATE       0x0b
 #define GB_SVC_TYPE_ROUTE_DESTROY      0x0c
-#define GB_SVC_TYPE_LINK_CONFIG                0x0d
+#define GB_SVC_TYPE_LINK_CONFIG                0x10
 
 /*
  * SVC version request/response has the same payload as