OSDN Git Service

greybus: gpio: update operation types
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 27 May 2015 10:45:07 +0000 (12:45 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 28 May 2015 21:02:13 +0000 (14:02 -0700)
Update the remaining operation types now that the ack operation is gone
to avoid leaving a hole in the type definitions.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_protocols.h

index 81ec3b2..305c33d 100644 (file)
@@ -128,9 +128,9 @@ struct gb_i2c_transfer_response {
 #define GB_GPIO_TYPE_SET_VALUE         0x09
 #define GB_GPIO_TYPE_SET_DEBOUNCE      0x0a
 #define GB_GPIO_TYPE_IRQ_TYPE          0x0b
-#define GB_GPIO_TYPE_IRQ_MASK          0x0d
-#define GB_GPIO_TYPE_IRQ_UNMASK                0x0e
-#define GB_GPIO_TYPE_IRQ_EVENT         0x0f
+#define GB_GPIO_TYPE_IRQ_MASK          0x0c
+#define GB_GPIO_TYPE_IRQ_UNMASK                0x0d
+#define GB_GPIO_TYPE_IRQ_EVENT         0x0e
 
 #define GB_GPIO_DEBOUNCE_USEC_DEFAULT  0       /* microseconds */