]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
greybus: timesync: reduce initial startup time
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 19 Jul 2016 14:04:37 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 20 Jul 2016 18:16:25 +0000 (11:16 -0700)
commit93a738894346d01687c8979bca129d7eaaf7d35f
tree663771420ebc6e4a9a64cd973689f0b679522b8a
parent8a704565ebda9603c294aacebb34e47cd9d9a3a0
greybus: timesync: reduce initial startup time

Currently we have a long initial delay when initiating the first operation
to synchronize the FrameTime. That made sense during development of the
feature since we did synchronization asynchronously and wanted to give some
grace time for new Interfaces to be added before initiating a new
synchronization. On the PM runtime resume path though we do a synchronous
restoration of FrameTime and in this case waiting for 1 second before
initiating the first operation is clearly wrong.

This patch reduces the initial operation time bringing the synchronous call
time down by 990 milliseconds.

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