ASoC: max98088 - fix element type of the register cache.
authorChih-Chung Chang <chihchung@chromium.org>
Mon, 15 Jul 2013 16:38:46 +0000 (09:38 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 17:18:06 +0000 (18:18 +0100)
commitcb6f66a2d278e57a6c9d8fb59bd9ebd8ab3965c2
treeea1cb7a5e6844c1040af8dda049c179fd1e0dd99
parentad81f0545ef01ea651886dddac4bef6cec930092
ASoC: max98088 - fix element type of the register cache.

The registers of max98088 are 8 bits, not 16 bits. This bug causes the
contents of registers to be overwritten with bad values when the codec
is suspended and then resumed.

Signed-off-by: Chih-Chung Chang <chihchung@chromium.org>
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/max98088.c