Re: [PATCH]: In kernel hibernation, suspend to both

From: Bojan Smojver
Date: Sun May 13 2012 - 22:46:52 EST


On Mon, 2012-05-14 at 12:37 +1000, Bojan Smojver wrote:
> I'll work on redoing the patch with proper prepare to suspend to RAM.

If I'm reading the source of suspend.c correctly, this would then mean
that instead of calling suspend_devices_and_enter() I should be calling
pm_suspend(), correct?

This function calls enter_state(), which in turn does
prepare/suspend/finish.

--
Bojan

--
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/