pps-gpio: Timestamp alignment with boottime
GPS driver which makes use of PPS timestamp expects time with respect to boot time. Existing pps_get_ts function doesn't return time from the boot so replaced this function with get_monotonic_boottime function which returns elapsed time from the boot. Change-Id: I8f656a1c4ef43f6314d4ab295a177125bcc8195e CRs-Fixed: 1012438 Signed-off-by: Naresh Munagala <nareshm@codeaurora.org>
This commit is contained in:
parent
a3851309db
commit
08f9cd2ae7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ static irqreturn_t pps_gpio_irq_handler(int irq, void *data)
|
|||
int rising_edge;
|
||||
|
||||
/* Get the time stamp first */
|
||||
pps_get_ts(&ts);
|
||||
get_monotonic_boottime(&ts.ts_real);
|
||||
|
||||
info = data;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue