*.* !.gitignore !Makefile
summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2016-07-20 19:31:18 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-07-20 12:07:35 -0700
commit10a24b7c0911d63c7342dfb860e939221b4a9465 (patch)
tree81c264e33361356dda8dc34bf02ffff880a97cb8 /drivers/staging
parent346bae656e4e1a471771590f1f4e16e9f9332d1d (diff)
greybus: timesync: probe shouldn't complete until FrameTime sync does
Currently the probe() function contains the asynchronous() variant of FrameTime synchronization. This patch converts to the synchronous() version of synchronization. This is required for two reasons first a probe() cannot reasonably be considered to be complete without successfully completing a time synchronization for Interfaces that care about that sync. Secondly scheduling the operation asynchronously means its possible the PM-runtime suspend() path can execute before the async timesync operation completes. For both reasons we want to run synchronization - synchronously. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging')