ASoC: Intel: Make Baytrail PCM data per stream rather than per DAI device
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Wed, 14 May 2014 14:20:53 +0000 (17:20 +0300)
committerMark Brown <broonie@linaro.org>
Wed, 14 May 2014 15:57:26 +0000 (16:57 +0100)
commit3a46c7b7cc09ace471f9ccb4d11950fb2f7f2d96
tree8f95dfea46f4e0b60ed127398f6a3871d794861e
parent8bee1fd482622718fcc1a537db1d7ca48d7f52f8
ASoC: Intel: Make Baytrail PCM data per stream rather than per DAI device

Prepare for single Baytrail DAI playback/capture link by accessing PCM data
using stream ID instead of rtd->dev. Now rtd->dev is unique for playback
and capture since they are exported as separate DAIs but not once converted
to single DAI.

[Jarkko: Separated from another commit with updated commit log]

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-baytrail-pcm.c