OSDN Git Service

ASoC: SOF: Intel: HDA: Limit the number of dai drivers for nocodec mode
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 26 May 2023 20:41:49 +0000 (15:41 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 30 May 2023 13:11:04 +0000 (14:11 +0100)
commit0f7b6a433097808e7f3e82f837ccc1353f070e4a
tree3e49ca31dd0b7198dc75d067c04abee7d9cc9679
parentfe88788779fc30a4117dc2f9db4b50182679bb67
ASoC: SOF: Intel: HDA: Limit the number of dai drivers for nocodec mode

With a common kernel config for nocodec and codec modes, the number of DAI
drivers will be set to 15 for nocodec as well. So adjust this when set
the machine params for the nocodec mode if the debug flag is set.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230526204149.456068-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h