Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175636
b: refs/heads/master
c: 0d93d8b
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman authored and paul committed Dec 12, 2009
1 parent ec21e6d commit 4fb8a2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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: d048ec7ab48254c505e1cee49441345ce12129fd
refs/heads/master: 0d93d8bb7f52190d76e9dba7f4561aabefaff34a
4 changes: 2 additions & 2 deletions trunk/arch/arm/plat-omap/include/plat/omap_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
* @pm_lats: ptr to an omap_device_pm_latency table
* @pm_lats_cnt: ARRAY_SIZE() of what is passed to @pm_lats
* @pm_lat_level: array index of the last odpl entry executed - -1 if never
* @dev_wakeup_lat: dev wakeup latency in microseconds
* @_dev_wakeup_lat_limit: dev wakeup latency limit in usec - set by OMAP PM
* @dev_wakeup_lat: dev wakeup latency in nanoseconds
* @_dev_wakeup_lat_limit: dev wakeup latency limit in nsec - set by OMAP PM
* @_state: one of OMAP_DEVICE_STATE_* (see above)
* @flags: device flags
*
Expand Down
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 @@ -142,10 +142,10 @@ static int _omap_device_activate(struct omap_device *od, u8 ignore_lat)
read_persistent_clock(&b);

c = timespec_sub(b, a);
act_lat = timespec_to_ns(&c) / NSEC_PER_USEC;
act_lat = timespec_to_ns(&c);

pr_debug("omap_device: %s: pm_lat %d: activate: elapsed time "
"%llu usec\n", od->pdev.name, od->pm_lat_level,
"%llu nsec\n", od->pdev.name, od->pm_lat_level,
act_lat);

WARN(act_lat > odpl->activate_lat, "omap_device: %s.%d: "
Expand Down Expand Up @@ -198,10 +198,10 @@ static int _omap_device_deactivate(struct omap_device *od, u8 ignore_lat)
read_persistent_clock(&b);

c = timespec_sub(b, a);
deact_lat = timespec_to_ns(&c) / NSEC_PER_USEC;
deact_lat = timespec_to_ns(&c);

pr_debug("omap_device: %s: pm_lat %d: deactivate: elapsed time "
"%llu usec\n", od->pdev.name, od->pm_lat_level,
"%llu nsec\n", od->pdev.name, od->pm_lat_level,
deact_lat);

WARN(deact_lat > odpl->deactivate_lat, "omap_device: %s.%d: "
Expand Down

0 comments on commit 4fb8a2c

Please sign in to comment.