From ddad881a829b636210c848338f20ff21443a94ee Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 21 Mar 2003 02:28:59 -0800 Subject: [PATCH] [PATCH] fix i810 ifs [There are a ton of updates to pull from 2.4, but not yet merged] --- sound/oss/i810_audio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/oss/i810_audio.c b/sound/oss/i810_audio.c index c63f760dea57d..c3f912ccfc4bb 100644 --- a/sound/oss/i810_audio.c +++ b/sound/oss/i810_audio.c @@ -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; } } -- 2.53.0