mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacld-3.0: Avoid logging in hif_pm_runtime_get from TX path
The hif_om_runtime_get logs the requester for resume when the device is in runtime suspend/suspending state. Due to such kind of logging from a softirq context, its execution time will be longer and can block the execution of other time critical softirqs. Fix this by marking the call to hif_om_runtime_get as a call from critical context and avoid the logging for this call. Change-Id: I2d7d0b3645f351af11a016bd45c5930f0df5401a CRs-Fixed: 2850952
This commit is contained in:
parent
8a0f89e7cb
commit
85374c8dc5
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2020-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 above
|
||||
|
|
@ -162,7 +162,8 @@ static void dp_swlm_tcl_flush_timer(void *arg)
|
|||
if (hal_srng_try_access_start(soc->hal_soc, hal_ring_hdl) < 0)
|
||||
goto fail;
|
||||
|
||||
if (hif_pm_runtime_get(soc->hif_handle, RTPM_ID_DW_TX_HW_ENQUEUE)) {
|
||||
if (hif_pm_runtime_get(soc->hif_handle, RTPM_ID_DW_TX_HW_ENQUEUE,
|
||||
true)) {
|
||||
hal_srng_access_end_reap(soc->hal_soc, hal_ring_hdl);
|
||||
hal_srng_set_event(hal_ring_hdl, HAL_SRNG_FLUSH_EVENT);
|
||||
hal_srng_inc_flush_cnt(hal_ring_hdl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue