WSL2-Linux-Kernel/sound/pci/emu10k1
Auke Kok 44c10138fd PCI: Change all drivers to use pci_device->revision
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.

This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.

In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.

Compile tested with make all{yes,mod}config on x86_64 and i386.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:10 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emu10k1.c [ALSA] Various fixes for suspend/resume of ALSA PCI drivers 2006-10-22 10:51:10 +02:00
emu10k1_callback.c [ALSA] Remove xxx_t typedefs: PCI emu10k1 2006-01-03 12:18:47 +01:00
emu10k1_main.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
emu10k1_patch.c [ALSA] Remove xxx_t typedefs: PCI emu10k1 2006-01-03 12:18:47 +01:00
emu10k1_synth.c [ALSA] emu10k1_synth use after free 2006-03-22 10:35:23 +01:00
emu10k1_synth_local.h [ALSA] Remove xxx_t typedefs: PCI emu10k1 2006-01-03 12:18:47 +01:00
emu10k1x.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
emufx.c [ALSA] Add even more 'const' to everything related to TLV 2007-02-09 09:03:19 +01:00
emumixer.c [ALSA] emu10k1 - Fix STAC9758 front channel 2007-02-09 09:03:57 +01:00
emumpu401.c [ALSA] Fix no mpu401 interface can cause hard freeze 2006-07-12 20:07:51 +02:00
emupcm.c [ALSA] snd-emu10k1: Add emu1010 internal clock rate control for 44100 or 48000. 2007-02-09 09:00:40 +01:00
emuproc.c [ALSA] snd-emu10k1: Added support for emu1010, including E-Mu 1212m and E-Mu 1820m 2007-02-09 08:59:59 +01:00
io.c [ALSA] emu10k1: Add Audio capture support for Audigy 2 ZS Notebook. 2007-02-09 09:02:17 +01:00
irq.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
memory.c [ALSA] emu10k1 - Move EXPORT_SYMBOL() to adjacent to each function 2006-06-22 21:32:58 +02:00
p16v.c [ALSA] Add snd_pcm_group_for_each_entry() for code cleanup 2007-05-11 16:55:42 +02:00
p16v.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
p17v.h [ALSA] emu10k1: Add Audio capture support for Audigy 2 ZS Notebook. 2007-02-09 09:02:17 +01:00
timer.c [ALSA] Remove xxx_t typedefs: PCI emu10k1 2006-01-03 12:18:47 +01:00
tina2.h [ALSA] emu10k1: Add support for Audigy4 (not Pro) 2006-06-22 21:32:37 +02:00
voice.c [ALSA] snd-emu10k1: Added support for emu1010, including E-Mu 1212m and E-Mu 1820m 2007-02-09 08:59:59 +01:00