]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix incorrect bracketing in maestro
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 21 Mar 2003 10:29:07 +0000 (02:29 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 21 Mar 2003 10:29:07 +0000 (02:29 -0800)
sound/oss/maestro.c

index e1241f8b26dea57a377c7b4910d0e44c7f0cb6fb..dd1eda5e1eb76bf827ed6a62b189da969d7faefc 100644 (file)
@@ -3367,7 +3367,7 @@ parse_power(struct ess_card *card, struct pci_dev *pcidev)
        /* check to see if we have a capabilities list in
                the config register */
        pci_read_config_word(pcidev, PCI_STATUS, &w);
-       if(! w & PCI_STATUS_CAP_LIST) return 0;
+       if(!(w & PCI_STATUS_CAP_LIST)) return 0;
 
        /* walk the list, starting at the head. */
        pci_read_config_byte(pcidev,PCI_CAPABILITY_LIST,&next);