diff options
author | Simon Trimmer <simont@opensource.cirrus.com> | 2023-05-18 17:02:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-19 04:32:13 +0200 |
commit | 1a8edfcffa2803afc0ef3a6a48819230cdbda2c9 (patch) | |
tree | a30db4d0e94b3b2df425c4b7c9863f2a7c62e37e /include/sound | |
parent | ASoC: cs35l56: sdw_write_no_pm() should be performed under a pm_runtime request (diff) | |
download | linux-1a8edfcffa2803afc0ef3a6a48819230cdbda2c9.tar.xz linux-1a8edfcffa2803afc0ef3a6a48819230cdbda2c9.zip |
ASoC: cs35l56: In secure mode skip SHUTDOWN and RESET around fw download
If the device is in secure mode it's unnecessary to send a SHUTDOWN and
SYSTEM_RESET around the firmware download. It could only be patching
insecure tunings. A tuning patch doesn't need a SHUTDOWN and only needs
a REINIT afterwards. This will reduce the overhead of exiting system
suspend in secure mode.
Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/Message-Id: <20230518150250.1121006-4-rf@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs35l56.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h index 002042b1c73c..1f9713d7ca76 100644 --- a/include/sound/cs35l56.h +++ b/include/sound/cs35l56.h @@ -223,6 +223,7 @@ #define CS35L56_MBOX_CMD_AUDIO_PLAY 0x0B000001 #define CS35L56_MBOX_CMD_AUDIO_PAUSE 0x0B000002 +#define CS35L56_MBOX_CMD_AUDIO_REINIT 0x0B000003 #define CS35L56_MBOX_CMD_HIBERNATE_NOW 0x02000001 #define CS35L56_MBOX_CMD_WAKEUP 0x02000002 #define CS35L56_MBOX_CMD_PREVENT_AUTO_HIBERNATE 0x02000003 |