sm6375-common: libqti-perfd-client: return a dummy value

Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286
This commit is contained in:
Chenyang Zhong 2024-07-18 12:56:42 +05:30 committed by Anand S
commit e0ba6ef5dc
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
2 changed files with 19 additions and 2 deletions

View file

@ -11,6 +11,7 @@ cc_library_shared {
"-Wall",
],
shared_libs: [
"liblog",
"libutils",
],
}