diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-21 20:28:04 -0700 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-22 08:00:46 +0200 |
commit | da74ae3e32374755e0fbdfed4074cf839a82f615 (patch) | |
tree | a8884777eb00754186175a43458ca42a9bb4a726 | |
parent | 863b45180ef541a1990e4986d30fb7a93022a733 (diff) | |
download | op-kernel-dev-da74ae3e32374755e0fbdfed4074cf839a82f615.zip op-kernel-dev-da74ae3e32374755e0fbdfed4074cf839a82f615.tar.gz |
ALSA: hda - correct bracketing in spdif test in patch_sigmatel.c
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>
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index a2ac720..788fdc6 100644 --- 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; |