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

Commit d32e70a4 authored by Mingming Yin's avatar Mingming Yin Committed by Prashant Malani
Browse files

hal: close audio calibration fd

- close audio calibration fd in
  audio_hwdep_send_cal.

Change-Id: Ib08ec8c6aef6d88bf4e4d413fb5d95e4167cce30
parent e893a520
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1037,6 +1037,7 @@ static void audio_hwdep_send_cal(struct platform_data *plat_data)
    }
    if (send_codec_cal(acdb_loader_get_calibration, fd) < 0)
        ALOGE("%s: Could not send anc cal", __FUNCTION__);
    close(fd);
}

int platform_acdb_init(void *platform)
+1 −0
Original line number Diff line number Diff line
@@ -938,6 +938,7 @@ static void audio_hwdep_send_cal(struct platform_data *plat_data)
    }
    if (send_codec_cal(acdb_loader_get_calibration, fd) < 0)
        ALOGE("%s: Could not send anc cal", __FUNCTION__);
    close(fd);
}

int platform_acdb_init(void *platform)