projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21e3a3e
)
greybus: loopback: Send some sensible data
author
Viresh Kumar
<viresh.kumar@linaro.org>
Fri, 14 Aug 2015 11:37:10 +0000
(17:07 +0530)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 14 Aug 2015 21:37:16 +0000
(14:37 -0700)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odnoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/loopback.c
b/drivers/staging/greybus/loopback.c
index
cf525f8
..
39ad414
100644
(file)
--- a/
drivers/staging/greybus/loopback.c
+++ b/
drivers/staging/greybus/loopback.c
@@
-273,6
+273,8
@@
static int gb_loopback_transfer(struct gb_loopback *gb, u32 len)
return -ENOMEM;
}
+ memset(request->data, 0x5A, len);
+
request->len = cpu_to_le32(len);
do_gettimeofday(&ts);