Commit ddad881a authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix i810 ifs

[There are a ton of updates to pull from 2.4, but not yet merged]
parent 8d1f57e3
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment