On Thu, 5 Apr 2012, David Young wrote:
On Wed, Apr 04, 2012 at 07:25:55AM +0100, Iain Hibbert wrote:
Hi
Regarding pmf(9) API, is it safe to call pmf_device_deregister() if the
device was not successfully registered as a power handler? The
documentation does not mention this (though the
On Wed, Apr 04, 2012 at 07:25:55AM +0100, Iain Hibbert wrote:
Hi
Regarding pmf(9) API, is it safe to call pmf_device_deregister() if the
device was not successfully registered as a power handler? The
documentation does not mention this (though the code looks as if that
would work fine), nor
documentation does not mention this, but it seems that shutting down
cleanly might involve a flush of some kind. (I see that
pmf_system_suspend() does flush disk caches specifically before the
suspend, which sidesteps the issue a little)
I think the idea is that by the time
On Thu, 5 Apr 2012, David Young wrote:
On Wed, Apr 04, 2012 at 07:25:55AM +0100, Iain Hibbert wrote:
Hi
Regarding pmf(9) API, is it safe to call pmf_device_deregister() if the
device was not successfully registered as a power handler? The
documentation does not mention this (though the
Hi
Regarding pmf(9) API, is it safe to call pmf_device_deregister() if the
device was not successfully registered as a power handler? The
documentation does not mention this (though the code looks as if that
would work fine), nor the device_pmf_is_registered() function which may
not be actually