commit | d22926677f2244a6b68e7ea21d6c9338659c17aa | [log] [tgz] |
---|---|---|
author | Kevin Hilman <khilman@deeprootsystems.com> | Tue Dec 08 16:34:23 2009 -0700 |
committer | paul <paul@twilight.(none)> | Fri Dec 11 17:00:44 2009 -0700 |
tree | f90ca22cdb3728dad85c4afa07f6784003fd27e4 | |
parent | 5f1b6ef76ff87bb531a9304b36658b8ffaa91b08 [diff] |
OMAP: omap_device: use read_persistent_clock() instead of getnstimeofday() During suspend and resume, when omap_device deactivation and activation is happening, the timekeeping subsystem has likely already been suspended. Thus getnstimeofday() will fail and trigger a WARN(). Use read_persistent_clock() instead of getnstimeofday() to avoid this. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>