commit | 3fd8f42e7a9fd6f3450329c8f50daf1d2d261e4c | [log] [tgz] |
---|---|---|
author | lh <lh@exm.com> | Thu Sep 21 15:09:57 2023 +0800 |
committer | Gerrit Code Review <jenkins2@jenkins2-Vostro-3690> | Thu Sep 21 15:09:57 2023 +0800 |
tree | 129c0baacca946d126b1acefced602a11b784ec9 | |
parent | afa3ca7aeda64dd71608ba460e704e782129cc14 [diff] | |
parent | 522103525ef510382bcbf09bfc0fecfeb1090bcc [diff] |
Merge "[BUGFIX][ZXW-223][AUTOSUSPEND]fix delete lock but not unlock"
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-qser-autosuspend/lynq-qser-autosuspend.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-qser-autosuspend/lynq-qser-autosuspend.cpp index 2a5ff52..04b2ad0 100755 --- a/cap/zx297520v3/src/lynq/lib/liblynq-qser-autosuspend/lynq-qser-autosuspend.cpp +++ b/cap/zx297520v3/src/lynq/lib/liblynq-qser-autosuspend/lynq-qser-autosuspend.cpp
@@ -344,7 +344,14 @@ { return E_INPUT_ERROR; } - ret = delete_lock(fd); + ret = qser_wakelock_unlock(fd); + if(ret) + { + LYINFLOG("unlock is fail\n"); + return ret; + } + + ret = delete_lock(fd); return ret; }