]> git.hungrycats.org Git - linux/commitdiff
[PATCH] fix i810 ifs
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 21 Mar 2003 10:28:59 +0000 (02:28 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 21 Mar 2003 10:28:59 +0000 (02:28 -0800)
[There are a ton of updates to pull from 2.4, but not yet merged]

sound/oss/i810_audio.c

index c63f760dea57da5b2caca54c5538779879e41f58..c3f912ccfc4bb100bff4c02f188dfc15df1da66b 100644 (file)
@@ -2406,9 +2406,9 @@ static int i810_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
                                i810_set_dac_channels ( state, channels );
 
                                /* check that they really got turned on */
-                               if ( !state->card->ac97_status & SURR_ON )
+                               if (!(state->card->ac97_status & SURR_ON))
                                        val &= ~DSP_BIND_SURR;
-                               if ( !state->card->ac97_status & CENTER_LFE_ON )
+                               if (!(state->card->ac97_status & CENTER_LFE_ON))
                                        val &= ~DSP_BIND_CENTER_LFE;
                        }
                }