]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
greybus: timesync: Initialize the timesync ping fields to zero
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 22 Jun 2016 13:58:43 +0000 (14:58 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 24 Jun 2016 22:49:58 +0000 (15:49 -0700)
commit50687f360958722de8610998a3cc886d9c9ba0b5
treeeef6f07911e9693bd2f32bd717a2c861cdf6f9cd
parentc0e65d026c297c53eeb5412c31a5410317225945
greybus: timesync: Initialize the timesync ping fields to zero

Remember to initialize the TimeSync ping fields to zero so that if a
timesync_get_last_event() returns an error - we display a FrameTime that is
obviously incorrect.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/timesync.c