projects
/
GitHub
/
moto-9609
/
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:
fcc4356
)
greybus: pwm: fix config-request alignment
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 17 Mar 2015 17:24:29 +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 duty and period-fields in the config 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/pwm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/pwm.c
b/drivers/staging/greybus/pwm.c
index 3f508bf66ec0835e934218e5aeea2851d02bdea6..4e38b8a4624e4b16f73371bb96bce39f42bee743 100644
(file)
--- a/
drivers/staging/greybus/pwm.c
+++ b/
drivers/staging/greybus/pwm.c
@@
-56,8
+56,8
@@
struct gb_pwm_deactivate_request {
struct gb_pwm_config_request {
__u8 which;
- __le32 duty;
- __le32 period;
+ __le32 duty
__packed
;
+ __le32 period
__packed
;
};
struct gb_pwm_polarity_request {