Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175633
b: refs/heads/master
c: d229266
h: refs/heads/master
i:
  175631: 41ad8db
v: v3
  • Loading branch information
Kevin Hilman authored and paul committed Dec 12, 2009
1 parent 55e1aea commit abf8917
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f1b6ef76ff87bb531a9304b36658b8ffaa91b08
refs/heads/master: d22926677f2244a6b68e7ea21d6c9338659c17aa
8 changes: 4 additions & 4 deletions trunk/arch/arm/plat-omap/omap_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat)
(od->dev_wakeup_lat <= od->_dev_wakeup_lat_limit))
break;

getnstimeofday(&a);
read_persistent_clock(&a);

/* XXX check return code */
odpl->activate_func(od);

getnstimeofday(&b);
read_persistent_clock(&b);

c = timespec_sub(b, a);
act_lat = timespec_to_ns(&c) * NSEC_PER_USEC;
Expand Down Expand Up @@ -190,12 +190,12 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat)
od->_dev_wakeup_lat_limit))
break;

getnstimeofday(&a);
read_persistent_clock(&a);

/* XXX check return code */
odpl->deactivate_func(od);

getnstimeofday(&b);
read_persistent_clock(&b);

c = timespec_sub(b, a);
deact_lat = timespec_to_ns(&c) * NSEC_PER_USEC;
Expand Down

0 comments on commit abf8917

Please sign in to comment.