OSDN Git Service

ASoC: Intel: Skylake: fix widget handling
authorRakesh Ughreja <rakesh.a.ughreja@intel.com>
Wed, 25 Jul 2018 00:50:48 +0000 (19:50 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 25 Jul 2018 16:30:30 +0000 (17:30 +0100)
include DAPM Mux and output widgets into the list.

Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c

index 647e52a..9845d85 100644 (file)
@@ -108,6 +108,9 @@ static int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w,
        case snd_soc_dapm_aif_out:
        case snd_soc_dapm_dai_out:
        case snd_soc_dapm_switch:
+       case snd_soc_dapm_output:
+       case snd_soc_dapm_mux:
+
                return false;
        default:
                return true;