Re: [linux-pm] [PATCH] PM: Make it possible to avoid wakeup events from being lost

From: David Brownell
Date: Mon Jun 28 2010 - 19:28:35 EST


Did someone post the canonical driver changes
to make use of this? Something like

suspend() { /* if wake-enabled, up count */ }
resume() { /* if upcounted, downcount */ }

is what first comes to mind.. expecting that
the suspend/resume methods in the driver are
already doing the right things for enabling
and later disabling the "system wake" behavior
on the various relevant hardware events...



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