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

Commit 51af4b3c authored by Laxminath Kasam's avatar Laxminath Kasam Committed by Gerrit - the friendly Code Review server
Browse files

soc: wsa883x: Update changes for wsa8830



Update DRE_CTL offset to 3 for wsa8830 variant.

Change-Id: I9acab01b0099093b8e427d52e48ba9744c6f5aac
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent ead188cb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1056,6 +1056,10 @@ static void wsa883x_codec_init(struct snd_soc_component *component)
	for (i = 0; i < ARRAY_SIZE(reg_init); i++)
		snd_soc_component_update_bits(component, reg_init[i].reg,
					reg_init[i].mask, reg_init[i].val);

	if (wsa883x->variant == WSA8830)
		snd_soc_component_update_bits(component, WSA883X_DRE_CTL_0,
					0x07, 0x03);
}

static int32_t wsa883x_temp_reg_read(struct snd_soc_component *component,