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

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

Merge "ASoC: msm: On set FB spkr prot check new mode."

parents 8ea440ae b36abb19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4658,7 +4658,7 @@ static int afe_set_cal_fb_spkr_prot(int32_t cal_type, size_t data_size,
	if (data_size != sizeof(*cal_data))
		goto done;

	if (this_afe.prot_cfg.mode == MSM_SPKR_PROT_CALIBRATION_IN_PROGRESS)
	if (cal_data->cal_info.mode == MSM_SPKR_PROT_CALIBRATION_IN_PROGRESS)
		__pm_wakeup_event(&wl.ws, jiffies_to_msecs(WAKELOCK_TIMEOUT));
	mutex_lock(&this_afe.cal_data[AFE_FB_SPKR_PROT_CAL]->lock);
	memcpy(&this_afe.prot_cfg, &cal_data->cal_info,