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

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

Merge "hal: Properly initialize pthread mutex" into audio-hal.lnx.5.0

parents 42e321c6 02ab1198
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -437,7 +437,7 @@ static const struct string_to_enum out_sample_rates_name_to_enum_table[] = {
};

static struct audio_device *adev = NULL;
static pthread_mutex_t adev_init_lock;
static pthread_mutex_t adev_init_lock = PTHREAD_MUTEX_INITIALIZER;
static unsigned int audio_device_ref_count;
//cache last MBDRC cal step level
static int last_known_cal_step = -1 ;