android_kernel_xiaomi_sm8350/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
..
emu10k1_callback.c
emu10k1_main.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
emu10k1_patch.c
emu10k1_synth_local.h
emu10k1_synth.c
emu10k1.c [ALSA] Various fixes for suspend/resume of ALSA PCI drivers 2006-10-22 10:51:10 +02: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
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
Makefile
memory.c
p16v.c [ALSA] Add snd_pcm_group_for_each_entry() for code cleanup 2007-05-11 16:55:42 +02:00
p16v.h
p17v.h [ALSA] emu10k1: Add Audio capture support for Audigy 2 ZS Notebook. 2007-02-09 09:02:17 +01:00
timer.c
tina2.h
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