]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
greybus: timesync: Printout strobe count on sync failure
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 2 Aug 2016 12:18:29 +0000 (13:18 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Aug 2016 08:59:13 +0000 (10:59 +0200)
commitca9551f6815efd4e7bbdee0cd2c71c368ebdf92c
tree9de279f9beab22c62f9108265d7a37d03e4d3744
parent5cb74976b9025b1a5e6e3bfd15fde0afbaf98ae4
greybus: timesync: Printout strobe count on sync failure

If we failed to synchronize the FrameTime it would be useful to know how
many of the expected strobes arrived, for example a value of 0/5 would
indicate the SVC was completely dead but a value of 4/5 would indicate one
GPIO pulse got lost i.e. the AP was too slow reacting to an interrupt and
completely missed one of the strobe events. In either case the actual
number of strobes is a useful thing to print out.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/timesync.c