Re: How? PM suspend resume code in misc driver?

From: Henrique de Moraes Holschuh
Date: Fri Mar 20 2009 - 07:23:21 EST


On Fri, 20 Mar 2009, TJ wrote:
> The precise requirement is to fix a problem for a user of a laptop that
> 'forgets' the state of the RF frequency kill switch during suspend. When
> the PC resumes the radio is off and the hardware button has to be
> manually activated.

Port that driver to rfkill, instead. It does PM and will do the right
thing across suspend/resume.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
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/