ASoC: SOF: Intel: hda-stream: store stream capabilities
authorKeyon Jie <yang.jie@linux.intel.com>
Tue, 30 Apr 2019 23:09:29 +0000 (18:09 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 06:00:59 +0000 (15:00 +0900)
commite8e55dbe08960b714e5ce0148926ee17331ce4d5
tree2cc2d5d45e12720df44b2821c776f1c219abafef
parent6d60a39e5b787ddea5def220d6288cbdf6d63eb8
ASoC: SOF: Intel: hda-stream: store stream capabilities

Add stream_max into struct sof_intel_hda_dev to store the total hda
stream number that the platform can support, and initialize it at
stream_init.

This can be used later e.g. for stream bitmask.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-stream.c
sound/soc/sof/intel/hda.h