ASoC: Intel: Fix stream volume set no effect issue on Broadwell
authorJie Yang <yang.jie@intel.com>
Tue, 25 Nov 2014 13:00:53 +0000 (21:00 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 25 Nov 2014 13:08:04 +0000 (13:08 +0000)
The volume setting control for capture stream doesn't take effect on intel
Broadwell platform. Root cause it at 2 points:
1. set stream volume with channel=2 is wrongly bapassed;
2. the saved stream volume should be restored after stream is commit.

Here correct these 2 items to fix the stream volume set issue.

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

Simple merge
Simple merge
Simple merge