diff options
author | Bard Liao <bardliao@realtek.com> | 2015-10-21 16:18:18 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-21 13:23:43 +0100 |
commit | f8f2dc4a7127725383c93b501fcc4e47871b0a9d (patch) | |
tree | 7d64ac153865f61b412430ecef5b9c394735e777 | |
parent | 7ba6e4ef76c7e43101bd5e0f8987c11a8ed0d325 (diff) |
ASoC: rt298: fix wrong setting of gpio2_en
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>
-rw-r--r-- | sound/soc/codecs/rt298.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c index d3e30a645ae3..f823eb502367 100644 --- 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, 0x4000); + regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0x40); else regmap_write(rt298->regmap, RT298_SET_DMIC2_DEFAULT, 0); |