From: Kevin Hilman Date: Tue, 8 Dec 2009 23:34:23 +0000 (-0700) Subject: OMAP: omap_device: use read_persistent_clock() instead of getnstimeofday() X-Git-Tag: v2.6.33-rc1~295^2~1^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d22926677f2244a6b68e7ea21d6c9338659c17aa;p=pandora-kernel.git 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 Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed