diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-22 04:22:33 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-22 11:55:06 +0200 |
commit | ec12693e5d03c7e6399ba1e9150908527b809f33 (patch) | |
tree | 30e0d0321a1bf7d42ddc6a092c2ec0472c63bff6 /sound/soc/codecs/cs4349.c | |
parent | ASoC: cs4349: Remove unneeded NULL test for cs4349->reset_gpio (diff) | |
download | linux-ec12693e5d03c7e6399ba1e9150908527b809f33.tar.xz linux-ec12693e5d03c7e6399ba1e9150908527b809f33.zip |
ASoC: cs4349: Fix up setting PWR_DWN bit
The PWR_DWN is Bit 7, so current code does not set the PWR_DWN 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/codecs/cs4349.c')
-rw-r--r-- | sound/soc/codecs/cs4349.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs4349.c b/sound/soc/codecs/cs4349.c index 852be858bb9f..0d010c2b6021 100644 --- a/sound/soc/codecs/cs4349.c +++ b/sound/soc/codecs/cs4349.c @@ -326,7 +326,7 @@ static int cs4349_runtime_suspend(struct device *dev) struct cs4349_private *cs4349 = dev_get_drvdata(dev); int ret; - ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, 1); + ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, PWR_DWN); if (ret < 0) return ret; |