Re: ordering of suspend/resume for devices. any clues, anyone?

From: Pavel Machek
Date: Wed Dec 21 2005 - 05:22:19 EST


Hi!

> [hi, please kindly cc me direct as i am deliberately subscribed with
> settings to not receive posts from this list, but if that is inconvenient
> for you to cc me, don't worry i can always look up the archives
> to keep track of replies, thank you.]
>
> http://handhelds.org/moin/moin.cgi/BlueAngel
>
> works.
>
> am seeking some advice regarding power management - specifically
> the ordering of devices "resume" functions being called.
>
> we have an LCD, and an ATI chip. switching on the LCD powers up
> the ATI chip.
>
> unfortunately, resume calls the ATI device initialisation
> _before_ the LCD resume initialisation. the ATI chip's
> initialisation fails - naturally - because it's not even
> powered up.

I'd say "make LCD system/platform device". That will init it first,
shut it down last.
Pavel

--
Thanks, Sharp!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/