projects
/
profile
/
wearable
/
platform
/
kernel
/
linux-4.9-exynos9110.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba6e4e
)
ASoC: rt298: fix wrong setting of gpio2_en
author
Bard Liao
<bardliao@realtek.com>
Wed, 21 Oct 2015 08:18:18 +0000
(16:18 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 21 Oct 2015 12:23:43 +0000
(13:23 +0100)
The register value to enable gpio2 was incorrect. So fix it.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt298.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt298.c
b/sound/soc/codecs/rt298.c
index
d3e30a6
..
f823eb5
100644
(file)
--- a/
sound/soc/codecs/rt298.c
+++ b/
sound/soc/codecs/rt298.c
@@
-1214,7
+1214,7
@@
static int rt298_i2c_probe(struct i2c_client *i2c,
mdelay(10);
if (!rt298->pdata.gpio2_en)
- regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0x40
00
);
+ regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0x40);
else
regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0);