ASoC: Intel: Split hsw_pcm_data for playback and capture
authorJie Yang <yang.jie@intel.com>
Fri, 9 Jan 2015 06:36:36 +0000 (14:36 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 9 Jan 2015 17:16:53 +0000 (17:16 +0000)
commit7ff9d6714a5c97fb448c53aae801af3d529ecb56
tree71e4b4f5e344c98df1b0475d9c87d421055c29ed
parent98b9c1d2ce59d98d5921bbdca5a6d7fe40b4a384
ASoC: Intel: Split hsw_pcm_data for playback and capture

There may be 2 pcm streams for a same DAI at most, and these 2
streams should have different hsw_pcm_data, e.g. they have
different persistent data, so here we need split hsw_pcm_data
for playback and capture, to make sure they won't be mixed
and keep cleaned.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-haswell-pcm.c