qcacmn: Avoid logging in packet transmission path
Currently if the driver is in runtime suspend/suspending state, any packet transmission will request for resume via hif_pm_runtime_get. Unfortunately there is a logging in the above API which will lead to more time consumption in the NET_TX softirq context. This can lead to other delay in processing other softirqs in the system. Fix this by skipping the logging in the packet transmission path. Change-Id: Icc9f5b67794f7666243eb059f2e07a06a987002e CRs-Fixed: 2844126
这个提交包含在:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2021 The Linux Foundation. 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
|
||||
@@ -1174,7 +1174,7 @@ int htc_pm_runtime_get(HTC_HANDLE htc_handle)
|
||||
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(htc_handle);
|
||||
|
||||
return hif_pm_runtime_get(target->hif_dev,
|
||||
RTPM_ID_HTC);
|
||||
RTPM_ID_HTC, false);
|
||||
}
|
||||
|
||||
int htc_pm_runtime_put(HTC_HANDLE htc_handle)
|
||||
|
在新工单中引用
屏蔽一个用户