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

Commit 2af2c418 authored by Laxminath Kasam's avatar Laxminath Kasam
Browse files

hal: spk_prot: Update trigger_cal to false not needed

As speaker in use check is already present, trigger_cal
reset is not needed.

Change-Id: If4c2b5c81d5653c684e6ae28229836f06e73464c
parent 290d89ab
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -461,7 +461,6 @@ static bool is_speaker_in_use(unsigned long *sec)
    }
    if (handle.spkr_in_use) {
        *sec = 0;
        handle.trigger_cal = false;
        return true;
    } else {
        clock_gettime(CLOCK_BOOTTIME, &temp);