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

Commit 12638158 authored by Tony Truong's avatar Tony Truong
Browse files

mhi: dev: uci: hard wakeup after suspend-to-idle from userspace freeze



Attempt to wakeup from suspend-to-idle after a userspace freeze
by doing a hard instead of the regular wakeup.

Change-Id: I87d6b65985f343249beb4d67e296f3305d200376
Acked-by: default avatarBhaumik Vasav Bhatt <bbhatt@qti.qualcomm.com>
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent b482dc81
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.*/
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.*/

#include <linux/cdev.h>
#include <linux/device.h>
@@ -641,7 +641,7 @@ static void mhi_dl_xfer_cb(struct mhi_device *mhi_dev,
	spin_unlock_irqrestore(&uci_chan->lock, flags);

	if (mhi_dev->dev.power.wakeup)
		__pm_wakeup_event(mhi_dev->dev.power.wakeup, 0);
		pm_wakeup_hard_event(&mhi_dev->dev);

	wake_up(&uci_chan->wq);
}