aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2016-04-22 18:19:14 +0100
committerRalf Baechle <[email protected]>2016-05-13 15:30:25 +0200
commitaab4673b599d8037c713afce40fabae398ca96c4 (patch)
treee87f94a86ebe3ac3cca6ad7e444d439e08bf6776 /lib/string_helpers.c
parent6b8322576e9d325b65c54fbef64e4e8690ad70ce (diff)
MIPS: malta-time: Start GIC count before syncing to RTC
The sampling of the GIC counter on Malta after observing a rising edge of the RTC update flag differs slightly between the first and second sample, with the first sample also calling gic_start_count(). The two samples should really be taken as similarly as possible to get the most accurate figure, so move the gic_start_count() call before detecting the rising edge. Signed-off-by: James Hogan <[email protected]> Cc: James Hogan <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/13173/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions