OMAP: omap_device: fix nsec/usec conversion in latency calculations
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 8 Dec 2009 23:34:25 +0000 (16:34 -0700)
committerpaul <paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:44 +0000 (17:00 -0700)
commitd048ec7ab48254c505e1cee49441345ce12129fd
tree55f8f93492d2eec9030a0b55dac1a931efa40c07
parent81d7c6ffccd1d5369942c428faa9ee25a3d59db8
OMAP: omap_device: fix nsec/usec conversion in latency calculations

Use

   usecs = nsecs / NSEC_PER_USEC;

instead of

   usecs = nsecs * NSEC_PER_USEC;

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/omap_device.c