android_kernel_xiaomi_sm8350/drivers/media/radio
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
..
dsbr100.c V4L/DVB (5623): Dsbr100.c Replace usb_dsbr100_do_ioctl to use video_ioctl2 2007-05-09 10:13:08 -03:00
Kconfig Fix Kconfig dependency problems wrt boolean menuconfigs 2007-06-28 11:34:53 -07:00
Makefile
miropcm20-radio.c
miropcm20-rds-core.c
miropcm20-rds-core.h
miropcm20-rds.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
radio-aimslab.c V4L/DVB (5555): Radio-aimslab.c Replace rt_ioctl to use video_ioctl2 2007-04-27 15:45:56 -03:00
radio-aztech.c V4L/DVB (5152): Implements VIDIOC_[S|G]_INPUT on radio-aztech/radio-maxiradio 2007-02-21 13:34:58 -02:00
radio-cadet.c V4L/DVB (5621): Radio-cadet.c Replace cadet_do_ioctl to use video_ioctl2 2007-05-09 10:13:07 -03:00
radio-gemtek-pci.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
radio-gemtek.c V4L/DVB (5556): Radio-gemtek.c Replace gemtek_ioctl to use video_ioctl2 2007-04-27 15:45:57 -03:00
radio-maestro.c V4L/DVB (5624): Radio-maestro.c cleanup 2007-05-09 10:13:09 -03:00
radio-maxiradio.c V4L/DVB (5155): Properly initialize mute and radio frequency 2007-02-21 13:35:08 -02:00
radio-rtrack2.c V4L/DVB (5539): Radio-rtrack2.c Added VIDIOC_[GS]_AUDIO and VIDIOC_[S|G]_INPUT 2007-04-27 15:45:44 -03:00
radio-sf16fmi.c V4L/DVB (5550): Radio-sf16fmi.c Replace fmi_do_ioctl to use video_ioctl2 2007-04-27 15:45:53 -03:00
radio-sf16fmr2.c V4L/DVB (5549): Radio-sf16fmr2.c Replace fmr2_do_ioctl to use video_ioctl2 2007-04-27 15:45:52 -03:00
radio-terratec.c V4L/DVB (5546): Radio-terratec.c Replace tt_do_ioctl to use video_ioctl2 2007-04-27 15:45:49 -03:00
radio-trust.c V4L/DVB (5540): Radio-trust.c Replace tr_do_ioctl to use video_ioctl2 2007-04-27 15:45:45 -03:00
radio-typhoon.c V4L/DVB (5553): Replace typhoon_do_ioctl to use video_ioctl2 2007-04-27 15:45:55 -03:00
radio-zoltrix.c V4L/DVB (5622): Radio-zoltrix.c cleanup 2007-05-09 10:13:07 -03:00