aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-08-24 08:33:14 -0400
committerMark Brown <broonie@kernel.org>2016-09-01 16:27:41 -0400
commitfc94733e56481d1e3d1ed0038f87cf105793effa (patch)
treee799f25da2f1a5e7c76607eedc038b9336e0196c /sound
parentc15ad605be164dd425c32af730376b6ad71d6cb3 (diff)
ASoC: Intel: Skylake: Fix the inverted logic check
While converting to new core hda capability parsing, one instance of check had inverted logic which was converted wrongly. Fixes: ec8ae5703da1 (ALSA: convert users to core bus_parse_capabilities) Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/skylake/skl-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
index eb1f00b28df1..77bfd407f2a1 100644
--- a/sound/soc/intel/skylake/skl-pcm.c
+++ b/sound/soc/intel/skylake/skl-pcm.c
@@ -1020,7 +1020,7 @@ static int skl_platform_pcm_trigger(struct snd_pcm_substream *substream,
1020{ 1020{
1021 struct hdac_ext_bus *ebus = get_bus_ctx(substream); 1021 struct hdac_ext_bus *ebus = get_bus_ctx(substream);
1022 1022
1023 if ((ebus_to_hbus(ebus))->ppcap) 1023 if (!(ebus_to_hbus(ebus))->ppcap)
1024 return skl_coupled_trigger(substream, cmd); 1024 return skl_coupled_trigger(substream, cmd);
1025 1025
1026 return 0; 1026 return 0;