Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33ab96f8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: fix mutex unlock issue"

parents d6c4d2cf 28e9ed3b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -544,8 +544,11 @@ static void* spkr_calibration_thread(void *context)
            }
            goahead = true;
        }
        if (!list_empty(&adev->usecase_list))
        if (!list_empty(&adev->usecase_list)) {
            ALOGD("%s: Usecase active re-try calibration", __func__);
            goahead = false;
            pthread_mutex_unlock(&handle.mutex_spkr_prot);
        }
        if (goahead) {
                int status;
                status = spkr_calibrate(t0);