projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
863b451
)
ALSA: hda - correct bracketing in spdif test in patch_sigmatel.c
author
Harvey Harrison
<harvey.harrison@gmail.com>
Wed, 22 Oct 2008 03:28:04 +0000
(20:28 -0700)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 22 Oct 2008 06:00:46 +0000
(08:00 +0200)
Noticed by sparse:
sound/pci/hda/patch_sigmatel.c:1285:43: warning: dubious: !x & y
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index a2ac7205d45de81706ef520e2c9dca69f5ce503d..788fdc6f326436d8388faf3294c86e5d91274d13 100644
(file)
--- a/
sound/pci/hda/patch_sigmatel.c
+++ b/
sound/pci/hda/patch_sigmatel.c
@@
-1282,7
+1282,7
@@
static int stac92xx_build_controls(struct hda_codec *codec)
return err;
spec->multiout.share_spdif = 1;
}
- if (spec->dig_in_nid &&
(!
spec->gpio_dir & 0x01)) {
+ if (spec->dig_in_nid &&
!(
spec->gpio_dir & 0x01)) {
err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);
if (err < 0)
return err;