resume/suspend observations

Werner Almesberger werner at openmoko.org
Thu Feb 28 05:02:52 CET 2008


I wrote:
> The workqueue fix: [...]

No objections, so in it is. (Revision 4124.)

- Werner

----------------------------------- Changes -----------------------------------

The initialization of clocks uses mutexes, but we execute the resume in
an interrupt context. We therefore have to hand this task to a non-interrupt.

Adapted from a patch by Andy Green.

resume-timers-wq.patch:
- arch/arm/plat-s3c24xx/time.c (s3c24xx_timer): for resume, call new function
  s3c2410_timer_resume instead of s3c2410_timer_setup
- arch/arm/plat-s3c24xx/time.c (s3c2410_timer_resume, 
  s3c2410_timer_resume_work): run s3c2410_timer_setup via a workqueue




More information about the openmoko-kernel mailing list