greybus: loopback: fix invalid response size
authorAlexandre Bailon <abailon@baylibre.com>
Thu, 19 Nov 2015 11:44:46 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 20 Nov 2015 00:02:41 +0000 (16:02 -0800)
commit9864756be7542d3fe4e18297e0a45b5e2dec2f62
tree8330b99bc85be491ef997fe353909d999e039216
parent5c864e775dfdecda1ea340af2d3b1c94b4dea63b
greybus: loopback: fix invalid response size

The size of timestamps is not taken into account, which makes the
loopback driver in the firmware drop invalid packages.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c