[PATCH] tty: serial: samsung: Set missing PM ops for hibernation support

Andi Shyti andi.shyti at kernel.org
Sat Aug 5 14:38:24 PDT 2023


Hi Anton,

On Thu, Aug 03, 2023 at 01:26:42PM +0200, Anton Eliasson wrote:
> At least freeze, restore and thaw need to be set in order for the driver
> to support system hibernation. The existing suspend/resume functions can
> be reused since those functions don't touch the device's power state or
> wakeup capability. Use the helper macros SET_SYSTEM_SLEEP_PM_OPS and
> SET_NOIRQ_SYSTEM_SLEEP_PM_OPS for symmetry with similar drivers.

and why do we need hibernation in this device?

Andi



More information about the linux-arm-kernel mailing list