diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2016-04-12 17:15:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-04-12 22:33:39 -0700 |
commit | 777471a445242e34c790b5b80d031a013933fd05 (patch) | |
tree | 2555cb6d5623dfc37a175ed3296e29f0c1845efd /drivers/staging/greybus/control.c | |
parent | a7ddda1f5aa47779071dd4c6f3a5e65c0086e49f (diff) |
greybus: Fixup __u64, __u32 to __le64, __le32 in timesync declarations
A number of data in TimeSync command structures are declared __u64/__u32
instead of __le64/__le32, I forgot to put this through an x86_64 compile
before presentation for merge and as a result didn't catch this error. This
patch fixes.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/control.c')
-rw-r--r-- | drivers/staging/greybus/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c index 8475f1577325..91a7fcac4988 100644 --- a/drivers/staging/greybus/control.c +++ b/drivers/staging/greybus/control.c @@ -269,7 +269,7 @@ int gb_control_timesync_authoritative(struct gb_control *control, int i; for (i = 0; i < GB_TIMESYNC_MAX_STROBES; i++) - request.frame_time[i] = frame_time[i]; + request.frame_time[i] = cpu_to_le64(frame_time[i]); return gb_operation_sync(control->connection, GB_CONTROL_TYPE_TIMESYNC_AUTHORITATIVE, |