Subject: Re: power management
To: Charles M. Hannum <mycroft@MIT.EDU>
From: Jachym Holecek <freza@dspfpga.com>
List: tech-kern
Date: 06/22/2006 19:49:26
# Charles M. Hannum 2006-06-22:
> There's an important item you missed.  Drivers need to supply positive
> acknowledgement before a suspend happens.  If there are drivers
> incapable of suspending properly, the system should not suspend -- you
> should never see "the machine woke up, but XXX doesn't work any more".
> Preferrably, the architecture for this should inform the user *which*
> devices failed.

Thanks for reminding me:

	[... pm code ...]
	if (ca->ca_activate == NULL) {
		print_warning_about_device();
		if (suspending)
			forcibly_detach_inobedient_device();
	}

This is one of the reasons I'd prefer to use ca_activate.

	-- Jachym