Re: System suspend states and device driver suspend() callback

From: Arend van Spriel
Date: Fri Aug 16 2013 - 06:58:19 EST


On 08/16/2013 10:06 AM, Li Yang wrote:
Hi Guys,

Is there a standard way for the device drivers to know if the system
is going to âstandbyâ mode or âmemâ mode when the suspend() callbacks
are called?

what about implementing struct device_driver::suspend?

This is for driver level suspend operation, so not per-device.

Regards,

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



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