linux-stable-rt/sound/oss
Jesper Juhl 2eebb1925d [PATCH] OSS: cs46xx cleanup and tiny bugfix
Here's a patch for cs46xx that
 - (mostly) cleans up the cs46xx driver according to CodingStyle
 - removes a bunch of pointless casts
 - fixes a small, potential use of uninitialized variable, bug
 - reduces the size of the compiled code by 36 bytes
 - reduces the size of the source file by 1831 bytes

I know I should probably have split this into bits, but since I only
thought of that *after* doing all the edits, splitting it up would have
been a royal pain. And since these are all pretty trivial changes I thought
I'd just submit the one huge patch and hope people could live with it (if
not, then just tell me and I'll split it).

The bug fix that's in there may be hard to spot, so I'll point it out. It's
the
   -       int val, valsave, mapped, ret;
   +       int val, valsave, ret;
   +       int mapped = 0;
bit.
Without that change we may use `mapped' uninitialized if, in cs_ioctl, the
first test of "if(state)" is false and the second "if(state)" test is true.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-23 07:43:04 -07:00
..
cs4281
dmasound [PATCH] powerpc: fix oops in alsa powermac driver 2006-04-21 22:34:26 +10:00
emu10k1 [PATCH] Last DMA_xBIT_MASK cleanups 2006-04-11 06:18:44 -07:00
.gitignore
CHANGELOG
COPYING
Kconfig [MIPS] Correct HAL2 Kconfig description 2006-06-19 17:39:26 +01:00
Makefile
README.FIRST
ac97.c
ac97.h
ac97_codec.c
ac97_plugin_ad1980.c
aci.c
aci.h
ad1816.c
ad1848.c [PATCH] ad1848 section fix 2006-05-21 12:59:22 -07:00
ad1848.h
ad1848_mixer.h
ad1889.c [PARISC] OSS ad1889: Match register names with ALSA driver 2006-04-21 22:20:31 +00:00
ad1889.h [PARISC] OSS ad1889: Match register names with ALSA driver 2006-04-21 22:20:31 +00:00
adlib_card.c
aedsp16.c
ali5455.c
au1000.c
au1550_ac97.c [PATCH] Au1550/1200: add missing PSC #define's, make OSS driver use the proper ones 2006-06-23 07:42:56 -07:00
audio.c
audio_syms.c
awe_hw.h
awe_wave.c
awe_wave.h
bin2hex.c
btaudio.c
cmpci.c
coproc.h
cs46xx.c [PATCH] OSS: cs46xx cleanup and tiny bugfix 2006-06-23 07:43:04 -07:00
cs46xx_wrapper-24.h
cs46xxpm-24.h
cs46xxpm.h
cs461x.h
cs461x_image.h
cs4232.c [PATCH] pnp: cs4232: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
dev_table.c
dev_table.h
dm.h
dmabuf.c
es1370.c
es1371.c
esssolo1.c [PATCH] Replace 0xff.. with correct DMA_xBIT_MASK 2006-03-28 09:16:07 -08:00
forte.c
gus.h
gus_card.c
gus_hw.h
gus_linearvol.h
gus_midi.c
gus_vol.c
gus_wave.c
hal2.c
hal2.h
harmony.c
hex2hex.c
i810_audio.c
ics2101.c
ite8172.c
iwmem.h
kahlua.c
mad16.c
maestro.c
maestro.h
maestro3.c [PATCH] maestro3 vfree NULL check fixup 2006-03-28 09:16:08 -08:00
maestro3.h
maui.c
midi_ctrl.h
midi_syms.c
midi_synth.c
midi_synth.h
midibuf.c
mpu401.c
mpu401.h
msnd.c [PATCH] vfree does its own NULL check, no need to be explicit in oss/msnd.c 2006-03-28 09:16:08 -08:00
msnd.h
msnd_classic.c
msnd_classic.h
msnd_pinnacle.c
msnd_pinnacle.h
nec_vrc5477.c
nm256.h
nm256_audio.c [PATCH] nm256_audio section fix 2006-05-21 12:59:22 -07:00
nm256_coeff.h
opl3.c
opl3.h
opl3_hw.h
opl3sa.c
opl3sa2.c
os.h
pas2.h
pas2_card.c
pas2_midi.c
pas2_mixer.c
pas2_pcm.c
pss.c
rme96xx.c
rme96xx.h
sb.h
sb_audio.c
sb_card.c [PATCH] vfree NULL check fixup for sb_card 2006-03-28 09:16:07 -08:00
sb_card.h
sb_common.c
sb_ess.c
sb_ess.h
sb_midi.c
sb_mixer.c
sb_mixer.h
sequencer.c [PATCH] no need to check vfree arg for null in oss/sequencer 2006-03-28 09:16:08 -08:00
sequencer_syms.c
sgalaxy.c
sh_dac_audio.c [PATCH] sound: Remove unneeded kmalloc() return value casts 2006-03-28 09:16:09 -08:00
sonicvibes.c [PATCH] Replace 0xff.. with correct DMA_xBIT_MASK 2006-03-28 09:16:07 -08:00
sound_calls.h
sound_config.h
sound_firmware.h
sound_syms.c
sound_timer.c
soundcard.c
soundvers.h
sscape.c
swarm_cs4297a.c
sys_timer.c
trident.c
trident.h
trix.c
tuning.h
uart401.c
uart6850.c
ulaw.h
v_midi.c
v_midi.h
via82cxxx_audio.c
vidc.c
vidc.h
vidc_fill.S
vwsnd.c
waveartist.c
waveartist.h
wavfront.c
wf_midi.c
ymfpci.c
ymfpci.h
ymfpci_image.h
yss225.c
yss225.h

README.FIRST

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox