projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4453839
)
greybus: gpio: fix set-debounce request alignment
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 17 Mar 2015 17:24:28 +0000
(18:24 +0100)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 17 Mar 2015 21:34:43 +0000
(22:34 +0100)
Fix alignment of the usec-field in the set-debounce request, which
should follow the which-field without any inserted padding.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/gpio.c
b/drivers/staging/greybus/gpio.c
index 4af5050edea05e03e552db7d12ed39cba4d4ae56..458565a7afb8dea967769974b3be0edacb6d0b4f 100644
(file)
--- a/
drivers/staging/greybus/gpio.c
+++ b/
drivers/staging/greybus/gpio.c
@@
-116,7
+116,7
@@
struct gb_gpio_set_value_request {
struct gb_gpio_set_debounce_request {
__u8 which;
- __le16 usec;
+ __le16 usec
__packed
;
};
/* debounce response has no payload */