Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328051
b: refs/heads/master
c: 39a8cbd
h: refs/heads/master
i:
  328049: 1c8a76b
  328047: 0f70671
v: v3
  • Loading branch information
Richard Cochran authored and David S. Miller committed Sep 22, 2012
1 parent ddb7fe9 commit c101f48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 717ecc276dadf31cd858d4e56ac71c3cc479fc19
refs/heads/master: 39a8cbd9ca051fb164db70315e7972de5c153c33
1 change: 1 addition & 0 deletions trunk/drivers/ptp/ptp_clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ static int ptp_clock_adjtime(struct posix_clock *pc, struct timex *tx)
} else if (tx->modes & ADJ_FREQUENCY) {

err = ops->adjfreq(ops, scaled_ppm_to_ppb(tx->freq));
ptp->dialed_frequency = tx->freq;
}

return err;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/ptp/ptp_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ struct ptp_clock {
dev_t devid;
int index; /* index into clocks.map */
struct pps_device *pps_source;
long dialed_frequency; /* remembers the frequency adjustment */
struct timestamp_event_queue tsevq; /* simple fifo for time stamps */
struct mutex tsevq_mux; /* one process at a time reading the fifo */
wait_queue_head_t tsev_wq;
Expand Down

0 comments on commit c101f48

Please sign in to comment.