greybus: loopback: Send some sensible data
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 14 Aug 2015 11:37:10 +0000 (17:07 +0530)
committerGreg 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

index cf525f8f942a608c895e81f8f35058ead8a45347..39ad4141ba8c2d4dae22e1d0897dc3e16210030b 100644 (file)
@@ -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);