]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Tidy up SOC_DOUBLE_R_* helpers
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 3 Mar 2025 17:14:23 +0000 (17:14 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Mar 2025 18:14:56 +0000 (18:14 +0000)
commit1743dbb45b2cbe5500068900794a355a7e0dd853
treecbd00a33acfbe2f7de203c59ffb06c5315eae829
parentc951b20766f019a263b3547b07627be52fff87b4
ASoC: Tidy up SOC_DOUBLE_R_* helpers

Re-implement SOC_DOUBLE_R_VALUE() in terms of SOC_DOUBLE_R_S_VALUE().
SOC_DOUBLE_R_S_VALUE() already had a minimum value so add this to
SOC_DOUBLE_R_VALUE() as well, which makes SOC_DOUBLE_R_RANGE_VALUE()
redundant, so its usage is replaced.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250303171424.444556-13-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h