es1371 missing paren

Pete Wyckoff (wyckoff@ca.sandia.gov)
Sun, 12 Dec 1999 17:12:42 -0800


I prefer to have the old OSS mixer semantics on my es1371, which reveals
the following trivial missing paren.
-- Pete

--- linux-2.3.31/drivers/sound/es1371.c.orig Sun Dec 12 17:10:51 1999
+++ linux-2.3.31/drivers/sound/es1371.c Sun Dec 12 17:11:25 1999
@@ -121,7 +121,7 @@

/* --------------------------------------------------------------------- */

-#undef OSS_DOCUMENTED_MIXER_SEMANTICS
+#define OSS_DOCUMENTED_MIXER_SEMANTICS
#define ES1371_DEBUG
#define DBG(x) {}
/*#define DBG(x) {x}*/
@@ -1260,7 +1260,7 @@

case SOUND_MIXER_SPEAKER:
j = rdcodec(s, AC97_PCBEEP_VOL);
- if (j & AC97_MUTE
+ if (j & AC97_MUTE)
return put_user(0, (int *)arg);
return put_user(0x6464 - ((j >> 1) & 0xf) * 0x606, (int *)arg);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/