greybus: Switch to Cport 0 for svc and control protocol
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 24 Jul 2015 10:02:24 +0000 (15:32 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 27 Jul 2015 21:12:36 +0000 (14:12 -0700)
Initially we fixed it to Cport 2, but its changed to Cport 0 now. Lets
switch that in code as well.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Perry Hung <perry@leaflabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h

index 61fe9dce6ec0d4ff7c533d1b8c9634f79e4bfcc5..9708e934242fde57bbb48462abd872f5566f92cf 100644 (file)
@@ -64,9 +64,9 @@
  * CONTROL and SVC protocols for communication between AP and SVC.
  */
 #define GB_SVC_BUNDLE_ID                       0
-#define GB_SVC_CPORT_ID                                2
+#define GB_SVC_CPORT_ID                                0
 #define GB_CONTROL_BUNDLE_ID                   0
-#define GB_CONTROL_CPORT_ID                    2
+#define GB_CONTROL_CPORT_ID                    0
 
 
 /* Control Protocol */