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

Commit 98e1dcde authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: msmskunk: use right macro for wcd934x speaker config



MSMSKUNK targets supports WCD934x codecs. Use right macros
for WCD934x to configure speaker for these targets.

Change-Id: I1e290d8dc03bdfd690cc2520c2b9875955932bec
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 2d3eebc9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3342,9 +3342,9 @@ 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;