aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Trimmer <[email protected]>2023-10-06 12:10:38 +0100
committerMark Brown <[email protected]>2023-10-06 12:30:28 +0100
commit79b101947a829a1c4c3eca4b6365093d2b534cf4 (patch)
treeca5c6ad19c09a780c761007cdea998797c00ee27
parent3df761bdbc8bc1bb679b5a4d4e068728d930a552 (diff)
ASoC: cs35l56: Enable low-power hibernation mode on i2c
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 <[email protected]> Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/codecs/cs35l56-i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs35l56-i2c.c b/sound/soc/codecs/cs35l56-i2c.c
index 9e5670b09af6..7063c400e896 100644
--- 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);