diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-04-21 00:19:49 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 15:58:46 -0400 |
commit | 53f9b3baa937e0cbdd75ea11b3c824462e4359b2 (patch) | |
tree | 008df91a291edf0ef851a772c259acb5b0ae94c1 /sound/soc | |
parent | 3168c201f7ca333d12f80f8d98bbbe3a33746f8b (diff) |
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt5645.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index e16724a11c47..3153aa0fe51b 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c | |||
@@ -2742,7 +2742,7 @@ static int rt5645_i2c_probe(struct i2c_client *i2c, | |||
2742 | 2742 | ||
2743 | case RT5645_DMIC_DATA_GPIO12: | 2743 | case RT5645_DMIC_DATA_GPIO12: |
2744 | regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, | 2744 | regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, |
2745 | RT5645_DMIC_1_DP_MASK, RT5645_DMIC_2_DP_GPIO12); | 2745 | RT5645_DMIC_2_DP_MASK, RT5645_DMIC_2_DP_GPIO12); |
2746 | regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1, | 2746 | regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1, |
2747 | RT5645_GP12_PIN_MASK, | 2747 | RT5645_GP12_PIN_MASK, |
2748 | RT5645_GP12_PIN_DMIC2_SDA); | 2748 | RT5645_GP12_PIN_DMIC2_SDA); |