ASoC: cs35l56: Remove unused hibernate wake constants

Message ID 20231003093418.21600-1-rf@opensource.cirrus.com
State New
Headers
Series ASoC: cs35l56: Remove unused hibernate wake constants |

Commit Message

Richard Fitzgerald Oct. 3, 2023, 9:34 a.m. UTC
  From: Simon Trimmer <simont@opensource.cirrus.com>

The two CS35L56_HIBERNATE_WAKE_* constants in cs35l56.h aren't used by
any of the driver code.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
---
 include/sound/cs35l56.h | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Mark Brown Oct. 3, 2023, 5:08 p.m. UTC | #1
On Tue, 03 Oct 2023 10:34:18 +0100, Richard Fitzgerald wrote:
> The two CS35L56_HIBERNATE_WAKE_* constants in cs35l56.h aren't used by
> any of the driver code.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: cs35l56: Remove unused hibernate wake constants
      commit: d4e1417bb9e675ea2e4d4a6f993e3a9ae8118ac8

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
  

Patch

diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h
index 3950322bf3cb..762b96b29211 100644
--- a/include/sound/cs35l56.h
+++ b/include/sound/cs35l56.h
@@ -242,8 +242,6 @@ 
 #define CS35L56_CONTROL_PORT_READY_US			2200
 #define CS35L56_HALO_STATE_POLL_US			1000
 #define CS35L56_HALO_STATE_TIMEOUT_US			50000
-#define CS35L56_HIBERNATE_WAKE_POLL_US			500
-#define CS35L56_HIBERNATE_WAKE_TIMEOUT_US		5000
 #define CS35L56_RESET_PULSE_MIN_US			1100
 
 #define CS35L56_SDW1_PLAYBACK_PORT			1