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

Commit 4e2de0cd 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: Fix error check in external EC"

parents 2a87ca77 4e7e4233
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1605,7 +1605,7 @@ static int msm_routing_ext_ec_put(struct snd_kcontrol *kcontrol,
		msm_route_ext_ec_ref = AFE_PORT_INVALID;
		break;
	}
	if (voc_set_ext_ec_ref(msm_route_ext_ec_ref, state)) {
	if (!voc_set_ext_ec_ref(msm_route_ext_ec_ref, state)) {
		mutex_unlock(&routing_lock);
		snd_soc_dapm_mux_update_power(widget, kcontrol, mux, e);
	} else {