summaryrefslogtreecommitdiff
path: root/locking.h
diff options
context:
space:
mode:
Diffstat (limited to 'locking.h')
0 files changed, 0 insertions, 0 deletions
>
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2016-08-02 13:18:30 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-03 10:59:13 +0200
commit7aa278b771505f8fb85406a891af0b7743710620 (patch)
tree97dfe33bfd4edae9af578f2e0cab3b894939d541 /drivers/staging/greybus
parentb6fc2876a060fdd89f6dd55a4923580983092b0f (diff)
greybus: timesync: Implement a retry mechanism
It's possible the AP could miss an incoming SVC timesync pulse i.e. the AP could have interrupts switched off for long enough that one SVC GPIO strobe ends up over-lapping another one. TimeSync should be able to deal with this type of transitory failure by retrying a failed synchronous TimeSync resync up to 'n' number of times. For this patch 'n' has been set to five, which is a hand-wavy choice that 'feels' right. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus')