summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs35l56-i2c.c
diff options
context:
space:
mode:
authorSimon Trimmer <simont@opensource.cirrus.com>2023-10-06 13:10:38 +0200
committerMark Brown <broonie@kernel.org>2023-10-06 13:30:28 +0200
commit79b101947a829a1c4c3eca4b6365093d2b534cf4 (patch)
treeca5c6ad19c09a780c761007cdea998797c00ee27 /sound/soc/codecs/cs35l56-i2c.c
parentASoC: cs35l56: Wake transactions need to be issued twice (diff)
downloadlinux-79b101947a829a1c4c3eca4b6365093d2b534cf4.tar.xz
linux-79b101947a829a1c4c3eca4b6365093d2b534cf4.zip
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 <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>
Diffstat (limited to 'sound/soc/codecs/cs35l56-i2c.c')
-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);