projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a75c0b
)
ASoC: cs4349: Fix up setting PWR_DWN bit
author
Axel Lin
<axel.lin@ingics.com>
Wed, 22 Jul 2015 02:22:33 +0000
(10:22 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 22 Jul 2015 09:55:06 +0000
(10:55 +0100)
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>
sound/soc/codecs/cs4349.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs4349.c
b/sound/soc/codecs/cs4349.c
index 852be858bb9f5affcbce1957ad5f60464f483e20..0d010c2b60212df72ab6fd2f8e7f715ee3570520 100644
(file)
--- 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;