aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorTero Kristo <tero.kristo@nokia.com>2009-10-23 12:03:48 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-01-20 21:15:58 -0500
commit2bbe3af3f1e1c1d0992c984e05d061ef5469edb4 (patch)
treedf2f0e2ef2561930d277d0923dd15012046646ff /lib/cpu-notifier-error-inject.c
parent7284ce6c9f6153d1777df5f310c959724d1bd446 (diff)
OMAP3: PM: Ack pending interrupts before entering suspend
Suspending drivers may still generate interrupts just before their suspend is completed. Any pending interrupts here will prevent sleep. Signed-off-by: Tero Kristo <tero.kristo@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
2 duration, unsigned long flags); int nvgpu_timeout_peek_expired(struct nvgpu_timeout *timeout); #define nvgpu_timeout_expired(__timeout) \ __nvgpu_timeout_expired_msg(__timeout, _NVGPU_GET_IP_, "") #define nvgpu_timeout_expired_msg(__timeout, fmt, args...) \ __nvgpu_timeout_expired_msg(__timeout, _NVGPU_GET_IP_, \ fmt, ##args) /* * Don't use this directly. */ int __nvgpu_timeout_expired_msg(struct nvgpu_timeout *timeout, void *caller, const char *fmt, ...); /* * Waits and delays. */ void nvgpu_msleep(unsigned int msecs); void nvgpu_usleep_range(unsigned int min_us, unsigned int max_us); void nvgpu_udelay(unsigned int usecs); /* * Timekeeping. */ s64 nvgpu_current_time_ms(void); s64 nvgpu_current_time_ns(void); u64 nvgpu_hr_timestamp(void); #endif /* NVGPU_TIMERS_H */