mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Use DEFERRABLE_WORK instead of DELAYED_WORK for BUS BW
For static display case, BUS BW work periodically wakes up the APPS because bus bw work is created as DELAYED_WORK. This has the power impact in case of static display. Use DEFERRABLE_WORK instead of DELAYED_WORK for bus bw work. DEFERRABLE_WORK won't wake up the APPS periodically in static display case. Change-Id: Id812907cc6962ab7a9bb2ce8a7417ca0546363ab CRs-Fixed: 2748373
This commit is contained in:
parent
a1264e5fea
commit
9949f46e04
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2020 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
|
||||
|
|
@ -97,7 +97,7 @@ QDF_STATUS __qdf_periodic_work_create(struct qdf_periodic_work *pwork,
|
|||
if (QDF_IS_STATUS_ERROR(status))
|
||||
return status;
|
||||
|
||||
INIT_DELAYED_WORK(&pwork->dwork, __qdf_periodic_work_handler);
|
||||
INIT_DEFERRABLE_WORK(&pwork->dwork, __qdf_periodic_work_handler);
|
||||
pwork->callback = callback;
|
||||
pwork->context = context;
|
||||
pwork->msec = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue