[PATCH] Fixup hang on resume caused by the s3c2410 touch screen driver
joerg at openmoko.org
joerg at openmoko.org
Thu May 15 20:09:47 CEST 2008
Am Do 15. Mai 2008 schrieb Holger Freyther:
> For some reason msleep might set the only task running into a suspended
> state and no timer will ever wake it up. Use mdelay to avoid this. I was not
> able to understand the reasoning of sleeping after enabling the clock. So we
> might just remove the msleep/mdelay at all and be fine.
IF there's any reason for this delay, it is to allow for some clock generating
PLL to stabilize before we enable any function relying on stable clock (maybe
A/D-probe? PWM? ''enable_irq(IRQ_ADC); enable_irq(IRQ_TC)'').
However I do not know the CPU manual by heart, so I can't tell whether this
applies here at all.
/j
More information about the openmoko-kernel
mailing list