]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: cs35l56: Use header defines for Speaker Volume control definition
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 3 Jul 2024 09:55:16 +0000 (10:55 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Jul 2024 12:05:42 +0000 (13:05 +0100)
commitc66995ae403073212f5ba60d2079003866c6e130
treef2f83999fda6a5f142b82b44d599f2aa4a5775bc
parentd06432b04603ea6f1b99bc0a933aa264b2fb6f4b
ASoC: cs35l56: Use header defines for Speaker Volume control definition

The "Speaker Volume" control was being defined using four hardcoded magic
numbers. There are #defines in the cs35l56.h header for these numbers, so
change the code to use the defined constants.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20240703095517.208077-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c