From 879b75a05aaa9717764def68a2d42d5e665d57c8 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Thu, 13 Jan 2022 22:25:46 -0800 Subject: [PATCH] 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 --- hif/src/hif_runtime_pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hif/src/hif_runtime_pm.c b/hif/src/hif_runtime_pm.c index 061558aca878..b6f76644901b 100644 --- a/hif/src/hif_runtime_pm.c +++ b/hif/src/hif_runtime_pm.c @@ -1,5 +1,6 @@ /* * 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