ASoC: max9867: fix volume controls
authorPavel Dobias <dobias@2n.cz>
Fri, 15 May 2020 12:07:57 +0000 (14:07 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 18 May 2020 17:33:27 +0000 (18:33 +0100)
commit8ba4dc3cff8cbe2c571063a5fd7116e8bde563ca
tree53170dd3a6e71f46e1ddc586b2ab002ea16eafc4
parent0e36f32f6b6c4c86a6bf3d6f0940831691b0a3b0
ASoC: max9867: fix volume controls

The xmax values for Master Playback Volume and Mic Boost
Capture Volume are specified incorrectly (one greater)
which results in the wrong dB gain being shown to the user
in the case of Master Playback Volume.

Signed-off-by: Pavel Dobias <dobias@2n.cz>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200515120757.24669-1-dobias@2n.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c