13 lines
510 B
Diff
13 lines
510 B
Diff
|
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
|
||
|
index f1ec6e6..e7e480d 100644
|
||
|
--- a/sound/soc/codecs/rt5640.c
|
||
|
+++ b/sound/soc/codecs/rt5640.c
|
||
|
@@ -2195,6 +2195,7 @@ static int rt5640_i2c_probe(struct i2c_client *i2c,
|
||
|
regmap_update_bits(rt5640->regmap, RT5640_IN3_IN4,
|
||
|
RT5640_IN_DF2, RT5640_IN_DF2);
|
||
|
|
||
|
+ rt5640->pdata.dmic_en = 1;
|
||
|
if (rt5640->pdata.dmic_en) {
|
||
|
regmap_update_bits(rt5640->regmap, RT5640_GPIO_CTRL1,
|
||
|
RT5640_GP2_PIN_MASK, RT5640_GP2_PIN_DMIC1_SCL);
|
||
|
|