ASoC: atmel: tse850: fix off-by-one in the "ANA" enumeration count
authorPeter Rosin <peda@axentia.se>
Wed, 31 May 2017 12:32:33 +0000 (14:32 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2017 18:53:36 +0000 (19:53 +0100)
commita00cebf51d5ceed8ba9f6fac5fb189b38cd5a7c2
tree53aeac18616977b953f43fbe5232fd4e314f20c7
parent61abce1312bf97eac62eef704260ce9a8f9b85f6
ASoC: atmel: tse850: fix off-by-one in the "ANA" enumeration count

At some point I added the "Low" entry at the beginning of the array
without bumping the enumeration count from 9 to 10. Fix this. While at
it, fix the anti-pattern for the other enumeration (used by MUX{1,2}).

Fixes: aa43112445f0 ("ASoC: atmel: tse850: add ASoC driver for the Axentia TSE-850")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/atmel/tse850-pcm5142.c