projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b1019
)
ASoC: cs35l56: Enable low-power hibernation mode on SPI
author
Richard Fitzgerald
<rf@opensource.cirrus.com>
Fri, 6 Oct 2023 11:10:39 +0000
(12:10 +0100)
committer
Mark Brown
<broonie@kernel.org>
Fri, 6 Oct 2023 11:30:29 +0000
(12:30 +0100)
Hibernation can be enabled on SPI-connected devices now that
the hibernate and wake sequences have been updated to work
with wake-on-MOSI.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20231006111039.101914-5-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56-spi.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs35l56-spi.c
b/sound/soc/codecs/cs35l56-spi.c
index 768ffe8213dc3dfd8c29cd2c46d5fca25a4551b3..b07b798b0b45d667f2d1aba6a27cd153da818332 100644
(file)
--- a/
sound/soc/codecs/cs35l56-spi.c
+++ b/
sound/soc/codecs/cs35l56-spi.c
@@
-32,6
+32,7
@@
static int cs35l56_spi_probe(struct spi_device *spi)
}
cs35l56->base.dev = &spi->dev;
+ cs35l56->base.can_hibernate = true;
ret = cs35l56_common_probe(cs35l56);
if (ret != 0)