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)
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

Simple merge