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

Commit 561fbdb9 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audio-hal: fix for kw issue"

parents 2b166dab 759aa90a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1877,7 +1877,7 @@ static int set_spkr_prot_v_vali_cfg(int wait_time, int vali_time)
    if (ioctl(cal_fd, AUDIO_SET_CALIBRATION, &cal_data))
        ALOGE("%s: failed to set TH VI V_VALI_CFG, errno = %d", __func__, errno);

    if (cal_fd > 0)
    if (cal_fd >= 0)
        close(cal_fd);
done:
    return ret;