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

Commit 879b75a0 authored by Rajeev Kumar's avatar Rajeev Kumar Committed by Madan Koyyalamudi
Browse files

qcacmn: Add log message for RTPM prevent API triggered resume

Add a log message to indicate RTPM resume is requested by RTPM
prevent runtime suspend API.

Change-Id: Ifb90493d1ea48601bb40708b1a2d7a821144a9b2
CRs-Fixed: 3110580
parent 9a52a4d3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
@@ -1366,6 +1367,7 @@ static int __hif_pm_runtime_prevent_suspend(struct hif_softc *scn,
		return 0;

	ret = __hif_pm_runtime_get(dev);
	hif_debug("request runtime PM resume, rtpm_dbgid %s", lock->name);

	/**
	 * The ret can be -EINPROGRESS, if Runtime status is RPM_RESUMING or