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

Commit 22249d49 authored by Kalyan Thota's avatar Kalyan Thota
Browse files

drm/msm/sde: Set the rotator dev state to active on resume



Set the rotator dev state to active in pm resume as the
dev state is used by generic pm driver for on/off
operations.

Change-Id: I0cde97f2ec2094d7374101719a9efb019bbaa5d8
Signed-off-by: default avatarKalyan Thota <kalyant@codeaurora.org>
parent 11a18c0d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2018, 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
@@ -3329,6 +3329,7 @@ int sde_rotator_pm_resume(struct device *dev)
	 */
	pm_runtime_disable(dev);
	pm_runtime_set_suspended(dev);
	pm_runtime_set_active(dev);
	pm_runtime_enable(dev);

	sde_rot_mgr_lock(mgr);