aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8993.c
diff options
context:
space:
mode:
authorMark Brown2022-06-04 11:52:46 +0100
committerMark Brown2022-06-07 20:38:08 +0100
commit5871321fb4558c55bf9567052b618ff0be6b975e (patch)
tree294904350b6cb8a3878faefd4c2cecc306987055 /sound/soc/codecs/wm8993.c
parent073350da0aa2aead9df7927a1c1046ebf5cdd816 (diff)
ASoC: ops: Fix off by one in range control validation
We currently report that range controls accept a range of 0..(max-min) but accept writes in the range 0..(max-min+1). Remove that extra +1. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220604105246.4055214-1-broonie@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8993.c')
0 files changed, 0 insertions, 0 deletions