projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15ad60
)
ASoC: Intel: Skylake: Fix the inverted logic check
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 24 Aug 2016 12:33:14 +0000
(18:03 +0530)
committer
Mark Brown
<broonie@kernel.org>
Thu, 1 Sep 2016 20:27:41 +0000
(21:27 +0100)
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>
sound/soc/intel/skylake/skl-pcm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/intel/skylake/skl-pcm.c
b/sound/soc/intel/skylake/skl-pcm.c
index eb1f00b28df123cccaf462753ff49c9185bfc229..77bfd407f2a1e15850ccf91fb746154c5b4a96d5 100644
(file)
--- 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,
{
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;