]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit874f2f1f203670acffdb0f3c700cac6b26275761
tree2cc2d5d45e12720df44b2821c776f1c219abafef
parent8367e1ad4272750644f8e7995ebf2872e66efc9e
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