Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75025cb9 authored by Atul Raut's avatar Atul Raut Committed by Gerrit - the friendly Code Review server
Browse files

input: qpnp-power-on: Implementing thaw callback



Hibernation may fail after this drivers freeze
callback. Implement thaw callback to undo the
changes done in freeze callback.

Change-Id: I16332706f6fd6a3cecd611a60d4cb5fb3364ac72
Signed-off-by: default avatarAtul Raut <araut@codeaurora.org>
parent c5ac9792
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -2448,6 +2448,7 @@ static int qpnp_pon_freeze(struct device *dev)
static const struct dev_pm_ops qpnp_pon_pm_ops = {
	.freeze = qpnp_pon_freeze,
	.restore = qpnp_pon_restore,
	.thaw = qpnp_pon_restore,
};
#endif