PATCH: fix i810 ifs

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 21 Mar 2003 20:08:56 GMT


[There are a ton of updates to pull from 2.4, but not yet merged]
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/sound/oss/i810_audio.c linux-2.5.65-ac2/sound/oss/i810_audio.c
--- linux-2.5.65/sound/oss/i810_audio.c 2003-02-10 18:38:49.000000000 +0000
+++ linux-2.5.65-ac2/sound/oss/i810_audio.c 2003-03-06 23:20:44.000000000 +0000
@@ -2406,9 +2406,9 @@
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;
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/