mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
qseecom: Suppress suspend warning if without bus scaling.
Recorded from QC SR: 05399803 as if the qseecom_supsend will only cancel the workqueque when the crypto bus scaling is enabled. Hence restrict the operation if without the configuration. Change-Id: I8d6d347a6393da76641fc8fa4601016629b4a53c Signed-off-by: quebs2 <quebs2@motorola.com> Reviewed-on: https://gerrit.mot.com/2072405 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a7396a742a
commit
2208e80231
1 changed files with 3 additions and 1 deletions
|
|
@ -9760,7 +9760,9 @@ static int qseecom_suspend(struct platform_device *pdev, pm_message_t state)
|
|||
|
||||
mutex_unlock(&clk_access_lock);
|
||||
mutex_unlock(&qsee_bw_mutex);
|
||||
cancel_work_sync(&qseecom.bw_inactive_req_ws);
|
||||
if (qseecom.support_bus_scaling) {
|
||||
cancel_work_sync(&qseecom.bw_inactive_req_ws);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue