ASoC: Intel: Correct the xmax volume
authorJie Yang <yang.jie@intel.com>
Fri, 28 Nov 2014 02:41:28 +0000 (10:41 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 28 Nov 2014 11:40:30 +0000 (11:40 +0000)
commitc5f0406bdce6eebc9147a54f4be0250618d3a423
tree8b98b99ffe0b9863062875f40eeca1c0806907e4
parent525b8634d8dee0e3a8409a73ef5f22ac8676a8c4
ASoC: Intel: Correct the xmax volume

The xmax volume should be corrected to ARRAY_SIZE(volume_map)-1, otherwise,
the xmax value will be mapped to 0 wrongly.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-haswell-pcm.c