ASoC: es8328: Fix deemphasis values
authorJohn Keeping <john@metanate.com>
Wed, 9 Dec 2015 11:38:13 +0000 (11:38 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 9 Dec 2015 20:42:19 +0000 (20:42 +0000)
commit84ebac4d04d25ac5c1b1dc3ae621fd465eb38f4e
tree5489558502359655b4c702be167a49610d1936fa
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: es8328: Fix deemphasis values

This is using completely the wrong mask and value when updating the
register.  Since the correct values are already defined in the header,
switch to using a table with explicit constants rather than shifting the
array index.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/es8328.c
sound/soc/codecs/es8328.h