]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: timesync/pm: Make synchronous call to restore FrameTime
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Fri, 15 Jul 2016 17:01:49 +0000 (18:01 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 15 Jul 2016 23:01:17 +0000 (08:01 +0900)
commitfddd7eafc746e5ad6ea0f980e85a3fdc87091e81
treeebf9d215d12921a733d037f900e3e66195106f92
parent1f77b363bef417e28d8556a11c9a82f3e6cf24f0
greybus: timesync/pm: Make synchronous call to restore FrameTime

When we discussed and agreed a serialized way to-do PM runtime
suspend/resume we omitted the necessity to restore the FrameTime on resume.
This patch restores the FrameTime synchronously such that when an Interface
PM resume callback completes we have either successfully restored the
FrameTime including the new Interface or we've produced a result code to
indicate what went wrong when trying.

Suggested-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Tested-by: David Lin <dtwlin@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/interface.c