projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3df761b
)
ASoC: cs35l56: Enable low-power hibernation mode on i2c
author
Simon Trimmer
<simont@opensource.cirrus.com>
Fri, 6 Oct 2023 11:10:38 +0000
(12:10 +0100)
committer
Mark Brown
<broonie@kernel.org>
Fri, 6 Oct 2023 11:30:28 +0000
(12:30 +0100)
This can now be re-enabled as the sequence to reliably wake the device
has been implemented in the shared code.
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20231006111039.101914-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56-i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs35l56-i2c.c
b/sound/soc/codecs/cs35l56-i2c.c
index 9e5670b09af6423c4df9ab25be4f58f2b4394168..7063c400e89615df48a04ed50262e9cf2cbeaa95 100644
(file)
--- a/
sound/soc/codecs/cs35l56-i2c.c
+++ b/
sound/soc/codecs/cs35l56-i2c.c
@@
-27,6
+27,7
@@
static int cs35l56_i2c_probe(struct i2c_client *client)
return -ENOMEM;
cs35l56->base.dev = dev;
+ cs35l56->base.can_hibernate = true;
i2c_set_clientdata(client, cs35l56);
cs35l56->base.regmap = devm_regmap_init_i2c(client, regmap_config);