commit | c89e8f54fe93dcee5b4740c8eb7f26edc92af3dc | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@kernel.org> | Sat Jun 04 11:52:46 2022 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 21 20:40:32 2022 +0200 |
tree | 809e890c1b4a56b9dd263faedf9a262fd3e7a670 | |
parent | baab719836cfa0f74d609cad58061f7e4f29d46d [diff] |
ASoC: ops: Fix off by one in range control validation [ Upstream commit 5871321fb4558c55bf9567052b618ff0be6b975e ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>