ASoC: rt286: Fix upper byte in DMIC2 configuration
Subsystems (3)
PATCH 1/1 ASoC: rt286: Fix upper byte in DMIC2 configuration
This HDA verb sets the upper byte of the Configuration Default register, so it expects an 8-bit value here. For the rt298, the same fix was applied in commit f8f2dc4a7127 ("ASoC: rt298: fix wrong setting of gpio2_en").
Signed-off-by David Ward <[email protected]>
--- sound/soc/codecs/rt286.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt286.c +1 -1
@@ -1204,7 +1204,7 @@ static int rt286_i2c_probe(struct i2c_client *i2c,mdelay (10 );if (!rt286->pdata.gpio2_en) -regmap_write (rt286->regmap,RT286_SET_DMIC2_DEFAULT ,0x4000 ); +regmap_write (rt286->regmap,RT286_SET_DMIC2_DEFAULT ,0x40 );else regmap_write (rt286->regmap,RT286_SET_DMIC2_DEFAULT ,0 );
Signature · 1 line
2.30.1