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

Commit 27187acd authored by Channagoud Kadabi's avatar Channagoud Kadabi Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm8998: use right macro for wcd934x speaker config" into msm-4.8

parents 94fe4a35 af0ca4a8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3445,9 +3445,10 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
					struct snd_soc_component, list_aux);
			if (!strcmp(aux_comp->name, WSA8810_NAME_1) ||
			    !strcmp(aux_comp->name, WSA8810_NAME_2)) {
				tavil_set_spkr_mode(rtd->codec, SPKR_MODE_1);
				tavil_set_spkr_mode(rtd->codec,
						    WCD934X_SPKR_MODE_1);
				tavil_set_spkr_gain_offset(rtd->codec,
							RX_GAIN_OFFSET_M1P5_DB);
						WCD934X_RX_GAIN_OFFSET_M1P5_DB);
			}
		}
		card = rtd->card->snd_card;