lkml.org 
[lkml]   [1998]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: pas2 fix for 2.1.77
Date
"Michael Harnois writes"
|>
|> This should fix the failure of pas2_mixer.c to compile ...
|>
|> --- linux/drivers/sound/pas2_mixer.c.orig Sun Jan 4 13:45:35 1998
|> +++ linux/drivers/sound/pas2_mixer.c Sun Jan 4 13:46:36 1998
|> @@ -260,7 +260,7 @@
|> if (__get_user(level, (int *)arg))
|> return -EFAULT;
|> if (level == -1) /* Return current settings */
|> - level = = !(pas_read(0x0B8A) & 0x20);
|> + level == !(pas_read(0x0B8A) & 0x20);
It might compile, but: does it really make sense ?????
Maybe I'm lacking of modern C knowledge (I'm still a K&R guy)...
|> else {
|> if (level)
|> pas_write(pas_read(0x0B8A) & (~0x20), 0x0B8A);

--
name : Steffen Grunewald | disclaimer: My opinions are mine.
email : steffen(at)gfz-potsdam.de | You can rent them. Ask me.
snail : GeoForschungsZentrum Potsdam, PB 2.5, Albert-Einstein-Straße,
Telegrafenberg Haus G, D-14473 Potsdam, Germany
tel : (+49)-331-288 1245 | quotation (Pablo Picasso):
fax : (+49)-331-288 1266 | Computers are useless.
URL : http://www.gfz-potsdam.de | They only can give you answers.

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