android_kernel_motorola_sm6225/sound/pci
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
..
ac97 [ALSA] Include quirks from Ubuntu Dapper/Edgy/Feisty 2007-05-16 12:23:03 +02:00
ali5451 PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
au88x0 PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ca0106 PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
cs46xx [ALSA] Fix alsa-devel ML address 2007-05-11 16:55:52 +02:00
cs5535audio [ALSA] Remove IRQF_DISABLED for shared PCI irqs 2006-12-20 08:55:57 +01:00
echoaudio [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
emu10k1 PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
hda [ALSA] hda-codec - Fix STAC922x capture boost level 2007-05-31 09:06:04 +02:00
ice1712 ALSA: fix ice1712 section mismatch 2007-06-28 11:34:53 -07:00
korg1212 [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
mixart [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
nm256 [ALSA] nm256 - Use quirk list helper function 2007-02-09 09:01:51 +01:00
pcxhr [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
riptide [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
rme9652 [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
trident [ALSA] Add snd_pcm_group_for_each_entry() for code cleanup 2007-05-11 16:55:42 +02:00
vx222 [ALSA] Add even more 'const' to everything related to TLV 2007-02-09 09:03:19 +01:00
ymfpci PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ad1889.c [ALSA] Remove IRQF_DISABLED for shared PCI irqs 2006-12-20 08:55:57 +01:00
ad1889.h [ALSA] ad1889: add AD1889 driver 2005-09-12 10:40:17 +02:00
als300.c [ALSA] Fix obsolete *_t typedefs 2007-02-09 09:01:45 +01:00
als4000.c [ALSA] Various fixes for suspend/resume of ALSA PCI drivers 2006-10-22 10:51:10 +02:00
atiixp.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
atiixp_modem.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
azt3328.c [ALSA] azt3328.c: small cleanup patch 2007-05-11 16:55:52 +02:00
azt3328.h [ALSA] azt3328.c: small cleanup patch 2007-05-11 16:55:52 +02:00
bt87x.c [ALSA] Fix alsa-devel ML address 2007-05-11 16:55:52 +02:00
cmipci.c [ALSA] cmipci - Allow to disable integrated FM port 2007-03-06 11:03:53 +01:00
cs4281.c [ALSA] Add even more 'const' to everything related to TLV 2007-02-09 09:03:19 +01:00
ens1370.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
ens1371.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
es1938.c [ALSA] Add even more 'const' to everything related to TLV 2007-02-09 09:03:19 +01:00
es1968.c [ALSA] es1968 - Fix stuttering capture 2007-05-11 16:55:54 +02:00
fm801.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
intel8x0.c [ALSA] Include quirks from Ubuntu Dapper/Edgy/Feisty 2007-05-16 12:23:03 +02:00
intel8x0m.c [ALSA] ac97 - Suppress power-saving mode on non-supporting drivers 2007-02-09 09:01:09 +01:00
Kconfig [ALSA] do not depend on FW_LOADER when internal firmware images are used 2007-05-11 16:56:14 +02:00
maestro3.c [ALSA] add MODULE_FIRMWARE entries 2007-05-11 16:56:14 +02:00
Makefile [ALSA] Add echoaudio sound drivers 2006-06-28 19:31:20 +02:00
rme32.c [ALSA] Add snd_pcm_group_for_each_entry() for code cleanup 2007-05-11 16:55:42 +02:00
rme96.c [ALSA] Remove IRQF_DISABLED for shared PCI irqs 2006-12-20 08:55:57 +01:00
sonicvibes.c [ALSA] Remove IRQF_DISABLED for shared PCI irqs 2006-12-20 08:55:57 +01:00
via82xx.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
via82xx_modem.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00