soc: wsa883x: Update changes for wsa8830

Update DRE_CTL offset to 3 for wsa8830 variant.

Change-Id: I9acab01b0099093b8e427d52e48ba9744c6f5aac
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
Laxminath Kasam
2020-04-28 23:32:45 +05:30
committed by Gerrit - the friendly Code Review server
szülő e7efdae360
commit 8250aa6bfe

Fájl megtekintése

@@ -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,