diff options
| author | Bryan O'Donoghue <[email protected]> | 2016-07-19 01:56:49 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-07-19 11:16:25 -0700 |
| commit | 52764bd8aac77dd8ddbdaf55ae896a55ab2a9f5e (patch) | |
| tree | 0cfbffc359a8ff8dac7992883c27fe482ad696e9 /tools/perf/scripts/python | |
| parent | 1455db9e1ba3f602084854fa9c222e9b68e8576c (diff) | |
greybus: timesync: Bugfix ping should not result in -EAGAIN
gb_timesync_schedule_synchronous() is currently making a synchronous
FrameTime synchronization happen. It does a wait_event_interruptible() and
then goes to check the status of the state-machine. Occasionally the state
indicates PING - which is a completely valid state and should result in a
result code of 0 not -EAGAIN. This patch fixes by making
__gb_timesync_get_status() return 0 instead of -EAGAIN for the PING state.
Signed-off-by: Bryan O'Donoghue <[email protected]>
Tested-by: David Lin <[email protected]>
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions