From: Viresh Kumar Date: Fri, 14 Aug 2015 11:37:10 +0000 (+0530) Subject: greybus: loopback: Send some sensible data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dc4a10693f3f0e6658b06dd1947643637c0476a4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git greybus: loopback: Send some sensible data Signed-off-by: Viresh Kumar Reviewed-by: Bryan O'Donoghue Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index cf525f8f942a..39ad4141ba8c 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);