From dc4a10693f3f0e6658b06dd1947643637c0476a4 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 14 Aug 2015 17:07:10 +0530 Subject: [PATCH] greybus: loopback: Send some sensible data Signed-off-by: Viresh Kumar Reviewed-by: Bryan O'Donoghue Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/loopback.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index cf525f8..39ad414 100644 --- 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); -- 2.7.4