ASoC: Add dapm_add_valid_dai_widget helper
authorShreyas NC <shreyas.nc@intel.com>
Tue, 25 Feb 2020 13:39:14 +0000 (21:39 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Feb 2020 17:35:02 +0000 (17:35 +0000)
commit6c4b13b51aa36aab023dd0bf24bf5582c9ba091e
tree75e0dc48f1e4d9cd71222bf3e6176d10c7a03a18
parent19bdcc7aeed4169820be6a683c422fc06d030136
ASoC: Add dapm_add_valid_dai_widget helper

Adding a helper to connect widget for a specific cpu and codec dai
The helper will help dapm_connect_dai_link_widgets() to reduce indents.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20200225133917.21314-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c