lkml.org 
[lkml]   [1999]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectes1371 missing paren
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.039 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site