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

Commit abf45da9 authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati
Browse files

ASoc: wcd9335: Ignore mbhc get impedance error



Avoid DAPM failure by ignoring the mbhc get impedance
errors as this is not a fatal and audio can still work
even if the class-H settings are not updated based on
impedance values.

Change-Id: Icd6846d157af5a96d5ae49261e109cbd5ab8c266
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 311cf263
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4342,9 +4342,11 @@ static int tasha_codec_hphl_dac_event(struct snd_soc_dapm_widget *w,
		if (!ret) {
			wcd_clsh_imped_config(codec, impedl, false);
			set_bit(CLASSH_CONFIG, &tasha->status_mask);
		} else
		} else {
			dev_dbg(codec->dev, "%s: Failed to get mbhc impedance %d\n",
						__func__, ret);
			ret = 0;
		}


		break;