Re: [PATCH v4 1/8] ASoC: Intel: Skylake: fix widget handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/25/18 5:59 AM, Vinod wrote:
On 24-07-18, 19:50, Pierre-Louis Bossart wrote:
From: Rakesh Ughreja <rakesh.a.ughreja@xxxxxxxxx>

include DAPM Mux and output widgets into the list.

Pierre,

Curious how is this a fix?

This is Skylake-specific topology black magic that you are probably better equiped to understand that me... This just takes out the outputs and mux from a number of topology handling cases.



Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@xxxxxxxxx>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
---
  sound/soc/intel/skylake/skl-topology.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c
index 76dde12cc2bb..2620d77729c5 100644
--- a/sound/soc/intel/skylake/skl-topology.c
+++ b/sound/soc/intel/skylake/skl-topology.c
@@ -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;
--
2.14.1


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux