android_kernel_xiaomi_sm8350/sound/pci/emu10k1
Mariusz Kozlowski 51882453a7 [ALSA] This patch removes memset() from snd_emu10k1_fx8010_info() which apparently
isn't needed there.  Upatched code uses:
memset(info, 0, sizeof(info));
where 'info' is a pointer and therefore only first 4 bytes of 'info' gets
cleared on a 32bit machine.  Anyway looking at the code zeoring this memory
region isn't needed at all because the snd_emu10k1_fx8010_info() function
initializes all the 'info' fields on its own.  So that's why this code works
at all in its original form.
This patch removes this redundant code.  Also snd_emu10k1_fx8010_info() can't
fail so lets save some bytes and change its return type to void.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2007-10-16 15:58:48 +02:00
..
emu10k1_callback.c
emu10k1_main.c [ALSA] snd-emu10k1:Unmute the Audio/Micro Dock after firmware load. 2007-10-16 15:58:04 +02:00
emu10k1_patch.c
emu10k1_synth_local.h
emu10k1_synth.c
emu10k1.c
emu10k1x.c [ALSA] Clean up with common snd_ctl_boolean_*_info callbacks 2007-10-16 15:57:45 +02:00
emufx.c [ALSA] This patch removes memset() from snd_emu10k1_fx8010_info() which apparently 2007-10-16 15:58:48 +02:00
emumixer.c [ALSA] snd-emu10k1:Support for ADAT and S/PDIF. 2007-10-16 15:57:53 +02:00
emumpu401.c
emupcm.c [ALSA] emu10k1 - EMU 1212 with 16 capture channels 2007-07-20 11:11:27 +02:00
emuproc.c [ALSA] snd-emu10k1:Implement SPDIF/ADAT status. 2007-10-16 15:58:03 +02:00
io.c [ALSA] snd-emu10k1:Implement SPDIF/ADAT status. 2007-10-16 15:58:03 +02:00
irq.c
Makefile
memory.c
p16v.c [ALSA] check for linked substreams of different cards 2007-10-16 15:58:13 +02:00
p16v.h
p17v.h
timer.c
tina2.h
voice.c