mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
ASoC: rt5645: Fix mask for setting RT5645_DMIC_2_DP_GPIO12 bit
Current code uses wrong mask when setting RT5645_DMIC_2_DP_GPIO12 bit, fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a3bd925198
commit
5023281b18
@ -2780,7 +2780,7 @@ static int rt5645_i2c_probe(struct i2c_client *i2c,
|
||||
|
||||
case RT5645_DMIC_DATA_GPIO12:
|
||||
regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1,
|
||||
RT5645_DMIC_1_DP_MASK, RT5645_DMIC_2_DP_GPIO12);
|
||||
RT5645_DMIC_2_DP_MASK, RT5645_DMIC_2_DP_GPIO12);
|
||||
regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1,
|
||||
RT5645_GP12_PIN_MASK,
|
||||
RT5645_GP12_PIN_DMIC2_SDA);
|
||||
|
Loading…
Reference in New Issue
Block a user