Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: rt298: fix wrong setting of gpio2_en

The register value to enable gpio2 was incorrect. So fix it.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
f8f2dc4a 7ba6e4ef

+1 -1
+1 -1
sound/soc/codecs/rt298.c
··· 1214 1214 mdelay(10); 1215 1215 1216 1216 if (!rt298->pdata.gpio2_en) 1217 - regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0x4000); 1217 + regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0x40); 1218 1218 else 1219 1219 regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0); 1220 1220