projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3bd925
)
ASoC: rt5645: Fix mask for setting RT5645_DMIC_2_DP_GPIO12 bit
author
Axel Lin
<
[email protected]
>
Tue, 21 Apr 2015 04:19:49 +0000
(12:19 +0800)
committer
Mark Brown
<
[email protected]
>
Thu, 7 May 2015 11:11:51 +0000
(12:11 +0100)
Current code uses wrong mask when setting RT5645_DMIC_2_DP_GPIO12 bit,
fix it.
Signed-off-by: Axel Lin <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt5645.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index 61ca49fbf1eca6560edbf04588bff47fbae229b5..be4d741c45baa3164c8698782055aa9599d1df45 100644
(file)
--- a/
sound/soc/codecs/rt5645.c
+++ b/
sound/soc/codecs/rt5645.c
@@
-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);