summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio
AgeCommit message (Collapse)Author
2007-11-19drivers/media/radio: Add missing "space"Mauro Carvalho Chehab
From: Joe Perches <joe@perches.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-28radio-gemtek: make file_operations constDouglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@gmail.com> make file_operations const Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-10-15v4l core: remove the unused .hardware V4L1 fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> struct video_device used to define a .hardware field. While initialized on severl drivers, this field is never used inside V4L. However, drivers using it need to include the old V4L1 header. This seems to cause compilation troubles with some random configs. Better just to remove it from all drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-15radio-gemtek: fix 'VID_HARDWARE_GEMTEK' undeclaredMauro Carvalho Chehab
From: Pekka Seppänen <pexu@kapsi.fi> Remove obsolete V4L v1 reference. Thanks to Ingo Molnar for pointing this issue. Signed-off-by: Pekka Seppänen <pexu@kapsi.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-01[PATCH] GemTek Radio card - Control WordDouglas Schilling Landgraf
From: Trent Piepho <xyzzy@speakeasy.org> Redoes the way the control word is stored and set. The existing code was a lot more complicated than it needed to be. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-10-01[PATCH] GemTek Radio card - frequency calculationDouglas Schilling Landgraf
From: Trent Piepho <xyzzy@speakeasy.org> Frequency calculation to use better math. It's still the same IF offset and step size (which are not the same as the datasheet says) as the code was before. It's just more efficient and accurate. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-10-01[PATCH 1/2] GemTek Radio cardDouglas Schilling Landgraf
From: Pekka Seppanen <pexu@kapsi.fi> Code cleanup for GemTek Radio card driver. Removed unnecessary / invalid I/O commands and rewrote code for tuning on-board BU2614FS chip. Adds several new module params for power users. Includes automatic device probing. Signed-off-by: Pekka Seppanen <pexu@kapsi.fi> Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Reviewed-by: Trent Piepho <xyzzy@speakeasy.org>
2007-09-30[PATCH 2/2] GemTek Radio cardDouglas Schilling Landgraf
From: Pekka Seppanen <pexu@kapsi.fi> Details now match with radio-gemtek.c, eg. no more different ports. Included a short note about cards that should be compatible with radio-gemtek module. Signed-off-by: Pekka Seppanen <pexu@kapsi.fi> Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Reviewed-by: Trent Piepho <xyzzy@speakeasy.org>
2007-08-27whitespace cleanup: replace leading spaces with tabsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> There were many instances of 7-space indents spread throughout the v4l-dvb tree. This patch replaces the 7-space indents with tabs. The whitespace cleaner script doesn't catch these, because it assumes that all indents are 8-space. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-20compat: keep printing pci revision on older kernelsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In 2.6.23, there is a new struct pci_dev->revision field to get the pci revision. A couple drivers now use this to print the revision and on old kernels don't print it anymore. This patch adds a simple function to get the revision to compat.h to make it easy for the backward compay code to keep printing the revision like is used too. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-07-20radio-gemtek-pci: remove unused structure memberTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The drivers reads the PCI subsystem ID into its state structure, but it's never used anywhere. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-07-19compat: only access pci_dev->revision for kernels later than 2.6.22Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-19Backport kernel changeset 44c10138fd4bbc4b6d6bff0873c24902f2a9da65Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> backport patch from Auke Kok <auke-jan.h.kok@intel.com>: 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: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-19backport kernel commit 59faba1b316a7798a33752b3889193333f8af1a0Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Original patch from Trent Piepho <xyzzy@speakeasy.org>. Its description: Fix Kconfig dependency problems wrt boolean menuconfigs If one has a dependency chain (tristate)FOO depends on (bool)BAR depends on (tristate)BAZ, build problems will result. If BAZ=m, then BAR can be set y, which allows FOO=y. It's possible to have FOO=y && BAZ=m, which wouldn't be allowed if FOO depended directly on BAZ. In effect, the bool promotes the tristate from m to y. This ends up causing a problem with several menuconfigs that look like: menuconfig BAR bool depends on BAZ [tristate] if BAR config FOO tristate endif The solution used here is to add the dependencies of BAR to the if statement, so that items in the if block will gain a direct non-bool-promoted dependency on BAZ. This is how it would work if a menu was used instead of an if block. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-17Use msecs_to_jiffies instead of HZ on radio driversMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-02Kconfig: Added GemTek USB radio and removed experimental dependency.Douglas Schilling Landgraf
From: Douglas Schilling Landgraf <dougsland@gmail.com> Added GemTek USB radio and removed experimental dependency. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-07-02Fix v4l-dvb backward compatibilityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to several internal API changes on kernel, kernel backward compatibility were lost. Basically, compat.h should be the last include for it to work properly. This patch basically reorders kernel headers to allow backward compat to work fine. Also: Some includes were added after some non-include macros, on old drivers. Better to keep all includes at the beginning of the files. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-27From: Douglas Schilling Landgraf <dougsland@gmail.com>Douglas Schilling Landgraf
Removed unnecessary .hardware from video_device struct. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
2007-05-13Backport kernel changeset e63340ae6b6205fef26b40a75673d1c9c0c8bb90Mauro Carvalho Chehab
From: Mauro Carvalho Chehab kernel-sync: The original patch description, from Randy Dunlap <randy.dunlap@oracle.com>: header cleaning: don't include smp_lock.h when not used Remove includes of <linux/smp_lock.h> where it is not used/needed. Suggested by Al Viro. Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc, sparc64, and arm (all 59 defconfigs). Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-07Radio-maestro.c cleanupMauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Removed unnecessary semaphore. Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-07Dsbr100.c Replace usb_dsbr100_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert dsbr100 to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-07Radio-zoltrix.c cleanupMauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Removed unnecessary .hardware member from struct zoltrix_radio (video_device). Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-07Radio-cadet.c Replace cadet_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-cadet to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-02Add help for RADIO_ADAPTERS and VIDEO_CAPTURE_DRIVERSMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Add a small help for those two new Kconfig vars. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-02Use menuconfig objects II - V4LMauro Carvalho Chehab
From: Jan Engelhardt <jengelh@linux01.gwdg.de> Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-03Backed out changeset d130e8e1eb762e055371d5e3e1724d7735bad244Mauro Carvalho Chehab
Also reverting this one. V4L/DVB building system can't handle menuconfig and if/endif Kconfig items. We should first patch the building system before reapplying those two patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-02Use menuconfig objects II - V4LMauro Carvalho Chehab
From: Jan Engelhardt <jengelh@linux01.gwdg.de> Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-26Radio-maestro.c Replace radio_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-maestro to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-26Radio-gemtek-pci.c Replace gemtek_pci_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-gemtek-pci to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-25Radio-gemtek.c Replace gemtek_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-gemtek to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-25Radio-aimslab.c Replace rt_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-aimslab to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-24[PATCH] radio-typhoon Replace typhoon_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-typhoon to use video_ioctl2 Cc: Mauro Carvalho Chehab <mchehab@linuxtv.org> Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-23Radio-sf16fmi.c Replace fmi_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-sf16fmi to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-23Radio-sf16fmr2.c Replace fmr2_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-sf16fmr2 to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-22Radio-terratec.c Replace tt_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-terratec to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-20Radio-zoltrix.c Replace zol_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-zoltrix to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-20Radio-trust.c Replace tr_do_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-trust to use video ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-20Radio-rtrack2.c Added VIDIOC_[GS]_AUDIO and VIDIOC_[S|G]_INPUTMauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Implements VIDIOC_[GS]_AUDIO and VIDIOC_[S|G]_INPUT on radio-rtrack2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-19Radio-rtrack2.c Replace rt_ioctl to use video_ioctl2Mauro Carvalho Chehab
From: Douglas Landgraf <dougsland@gmail.com> Convert radio-rtrack2 to use video_ioctl2 Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-03-07radio: Fix error in Kbuild fileTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> All the radio drivers need video_dev, but they were depending on VIDEO_DEV!=n. That meant that one could try to compile the driver into the kernel when VIDEO_DEV=m, which will not work. If video_dev is a module, then the radio drivers must be modules too. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2007-02-21Backport of git changeset cd354f1ae75e6466a7e31b727faede57a1f89ca5Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Backport a changeset from Schmielau <tim@physik3.uni-rostock.de> that removes uneeded includes for linux/sched.h Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>