mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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>
This commit is contained in:
parent
3df761bdbc
commit
79b101947a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user