ASoC: SOF: Intel: add codec_mask module parameter
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Tue, 10 Dec 2019 00:48:51 +0000 (18:48 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 10 Dec 2019 13:13:38 +0000 (13:13 +0000)
commit4f6250b82cb8f950a1b1bea62843a88bbb208187
tree8a6fb4ed731e5f59e1e7dc0d0aaf2ed1a4c395b7
parentb7c5986489b5c55ebebc430037dd4691a6bbc99c
ASoC: SOF: Intel: add codec_mask module parameter

Add a module parameter 'codec_mask' to filter out unwanted
HDA codecs from driver probe. E.g. on most systems,
codec_mask=4 will limit to HDMI audio and exclude any
external HDA codecs.

Similar to 'probe_mask' module parameter of snd-hda-intel.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191210004854.16845-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-ctrl.c