Commit 2b7b3e43 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] misc sound/* fixes

a) ALSA variant of wavefront didn't compile on gcc 2.x with debugging
turned on - authors heard something about variadic macros on gcc 2.x,
but screwed it up.  Fixed.
b) au88x0 relied on char being signed in non-trivial ways.  On ppc it's
not true.  Fixed by explicit use of s8 (which is what that code really
wants).
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 487db1c7
...@@ -123,7 +123,7 @@ MODULE_PARM_DESC(osrun_time, "how many seconds to wait for the ICS2115 OS"); ...@@ -123,7 +123,7 @@ MODULE_PARM_DESC(osrun_time, "how many seconds to wait for the ICS2115 OS");
#else #else
#define DPRINT(cond, args...) \ #define DPRINT(cond, args...) \
if ((dev->debug & (cond)) == (cond)) { \ if ((dev->debug & (cond)) == (cond)) { \
snd_printk (##args); \ snd_printk (args); \
} }
#endif #endif
#else #else
......
...@@ -146,12 +146,12 @@ struct snd_vortex { ...@@ -146,12 +146,12 @@ struct snd_vortex {
#endif #endif
/* Global resources */ /* Global resources */
char mixcapt[2]; s8 mixcapt[2];
char mixplayb[4]; s8 mixplayb[4];
#ifndef CHIP_AU8820 #ifndef CHIP_AU8820
char mixspdif[2]; s8 mixspdif[2];
char mixa3d[2]; /* mixers which collect all a3d streams. */ s8 mixa3d[2]; /* mixers which collect all a3d streams. */
char mixxtlk[2]; /* crosstalk canceler mixer inputs. */ s8 mixxtlk[2]; /* crosstalk canceler mixer inputs. */
#endif #endif
u32 fixed_res[5]; u32 fixed_res[5];
......
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