Skip to content

Commit

Permalink
ASoC: Intel: Skylake: Fix the inverted logic check
Browse files Browse the repository at this point in the history
While converting to new core hda capability parsing, one instance of
check had inverted logic which was converted wrongly.

Fixes: ec8ae57 (ALSA: convert users to core bus_parse_capabilities)
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Vinod Koul authored and broonie committed Sep 1, 2016
1 parent c15ad60 commit fc94733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/intel/skylake/skl-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ static int skl_platform_pcm_trigger(struct snd_pcm_substream *substream,
{
struct hdac_ext_bus *ebus = get_bus_ctx(substream);

if ((ebus_to_hbus(ebus))->ppcap)
if (!(ebus_to_hbus(ebus))->ppcap)
return skl_coupled_trigger(substream, cmd);

return 0;
Expand Down

0 comments on commit fc94733

Please sign in to comment.