Skip to contentSkip to conversation

Alchemy power managment code.

DISCUSSION Ralf Baechle 1 participant 1 message Mar 13, 2008 MIPS

lore
Share & tools
lore
#0 lore raw

The Alchemy code in arch/mips/au1000/common/power.c is one of the last remaining users of pm_send_all() which happens to be a nop call because nothing registers callbacks with pm_register. So the pm_send_all() calls can be removed.

Which leaves pm_do_suspend with no sensible code, so it can be removed. And ripped like this pm_do_sleep looks it it may well no longer be functioning.

So, anybody still using that stuff, does it provide any useful functionality? Does the CPU frequency stuff actually work?

Ralf

PS: You should hear the engine of my chainsaw warming up ...