summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio
AgeCommit message (Collapse)Author
2009-03-14v4l-dvb: replace remaining references to the old mailinglist.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-11radio-terratec: remove linux/delay.h which hadn't been used.Hans Verkuil
From: Alexey Klimov <klimov.linux@gmail.com> Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-11radio: remove uaccess includeHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> This include isn't needed and so can be removed. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-10radio-rtrack2: fix double mutex_unlockMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> Patch fixes double mutex unlocking. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-09ISA radio drivers: improve kernel log messageHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> It's much nicer if the log message tells you which io ports are possible, rather than having to run modinfo or look it up in the source or manual. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-zoltrix: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-typhoon: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-trust: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-terratec: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-sf16fmr2: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-sf16fmi: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-rtrack2: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-maxiradio: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-maestro: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-gemtek: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-gemtek-pci: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-cadet: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-aztech: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-06radio-aimslab: convert to v4l2_device.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-03-03compat: rename struct delayed_work to work_struct on pre-2.6.20Trent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> In v2.6.19-rc6-118-g52bad64 struct work_struct was changed to be only for non-delayed work and struct delayed_work was created for delayed work. Instead of putting ifdefs in the drivers, we use compat.h to rename delayed_work to work_struct on pre-2.6.20 kernels. This will only be a problem if some driver decides to create identifiers named both work_struct and delayed_work in the same scope. There is one driver that has something named work_struct and none with anything named delayed_work, so I don't think will be a problem for as long as this compat code sticks around. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2009-02-12Output HW/SW version from scratchpadTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> This patch adds functions to access the scratchpad. For it is this good for? In the first two bytes, the developers stored the HW/PCB version and the software release of the firmware. This is now written to syslog, so debugging get's easier. Also knowing the versions is the key for flash upgrades later on. There are also some cleanups of the flash report sizes. Altogether this should justify the new version number 1.0.9. Thanks to Rick Bronson <rick@efn.org> Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12LED status outputTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> This patch closes one of my todos that was since long on my list. Some people reported clicks and glitches in the audio stream, correlated to the LED color changing cycle. Thanks to Rick Bronson <rick@efn.org>. Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12Correction of Stereo detection/setting and signal strength indicationTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> Thanks to Bob Ross <pigiron@gmx.com> - correction of stereo detection/setting - correction of signal strength indicator scaling Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12Code rearrangements in preparation for other report typesTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> LED_REPORT and all flash REPORTs are on it's way. This code rearrangement cleans up the code for proper integration later on. Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-12Documentation and code cleanupsTobias Lorenz
From: Tobias Lorenz <tobias.lorenz@gmx.net> - "DealExtreme" sells the "PCear" radio and that comes from "Sanei Electric". - MPlayer is also usable as radio application. - Consistent usage of tabulators and blanks in the code. Priority: normal Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-02-08dsbr100: Add few lost mutex locks.Douglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch adds two lost mutex locks. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-si470x: use usb_make_path in usb-radio driversDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Place usb_make_path in radio-si470x.c that used when reporting bus_info information in vidioc_querycap. Priority: normal Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: fix checking of retval after usb_bulk_msgDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch corrects checking of returned value after usb_bulk_msg. Now we also check if number of transferred bytes equals to BUFFER_LENGTH. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: increase version and add commentsDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Increase driver version to 0.10, remove old and add new useful comments. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: add few lost mutex locksDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch adds two lost mutex locks. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: add stereo supportDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch introduces new amradio_set_stereo function. Driver calls this func to make stereo radio reception. Corrects checking of returned value after usb_bulk_msg. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: fix amradio_set_freqDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Fixing frequency adjustment to provide better diapason(band?) fit. Also, add AMRADIO_SET_FREQ to the list of commands. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: move radio start and stop in one functionDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch introduces new amradio_set_mute function. Amradio_start and amradio_stop removed. This makes driver more flexible and it's useful for next changes. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: add more dev_err messages in probeDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch adds 3 dev_err messages in usb_amradio_probe() function. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: place dev_err instead of dev_warnDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> There should be dev_err message if video_register_device() fails. Correct this situation. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-02-05radio-mr800: codingstyle cleanupsDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Cleanups of many if-check constructions. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-01-25struct device - replace bus_id with dev_name(), dev_set_name()Mauro Carvalho Chehab
From: Kay Sievers <kay.sievers@vrfy.org> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-25radio-mr800: fix radio->muted and radio->stereoDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Move radio->muted and radio->stereo in section where radio mutex is locked to avoid possible race condition problems or access to memory. Thanks to David Ellingsworth <david@identd.dyndns.org> for pointing to this weak place in driver. Priority: high Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-01-25v4l/dvb: use usb_make_path in usb-radio driversDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Place usb_make_path in dsbr100.c, radio-mr800.c, radio-si470x.c that used when reporting bus_info information in vidioc_querycap. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2008-12-31merge: http://linuxtv.org/hg/~tlorenz/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30Add TEA5764 radio driverMauro Carvalho Chehab
From: Fabio Belavenuto <belavenuto@gmail.com> Add support for radio driver TEA5764 from NXP. This chip is connected in pxa I2C bus in EZX phones from Motorola, the chip is used in phone model A1200. This driver is for OpenEZX project (www.openezx.org) Tested with A1200 phone, openezx kernel and fm-tools Signed-off-by: Fabio Belavenuto <belavenuto@gmail.com> [mchehab@redhat.com: Fixed CodingStyle and solved some merge conflicts] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-03Add USB ID for the Sil4701 radio from DealExtreme.Tobias Lorenz
Signed-off-by: Mark Lord <mlord@pobox.com> Cc: Tobias Lorenz <tobias.lorenz@gmx.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Code beautifications and documentation added. Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2008-11-19radio-mr800: fix unplugMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> This patch fixes problems(kernel oopses) with unplug of device while it's working. Patch adds disconnect_lock mutex, changes usb_amradio_close and usb_amradio_disconnect functions and adds a lot of safety checks. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-30v4l2: introduce v4l2_file_operations.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Introduce a struct v4l2_file_operations for v4l2 drivers. Remove the unnecessary inode argument. Move compat32 handling (and llseek) into the v4l2-dev core: this is now handled in the v4l2 core and no longer in the drivers themselves. Note that this changeset reverts an earlier patch that changed the return type of__video_ioctl2 from int to long. This change will be reinstated later in a much improved version. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-08dsbr100: add disabled controls and fix versionMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> Patch adds disabled controls in v4l2_queryctrl struct. Also version of driver corrected. -- Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-08dsbr100: add suspend and resumeMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> This patch adds support for suspend and resume methods in driver. Without this kradio and gnomeradio crashes during resume. Also .supports_autosuspend in usb_driver struct set equal to 0 to avoid suspending of module if usb_autosuspend enabled. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-27dsbr100: change return values in 3 functionsDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch replace return -1; with return retval; in 3 functions. And we also change if-checks for this returned values. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2008-12-27dsbr100: increase driver versionDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Due to a lot of patches for dsbr100 last time we should update version of driver. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2008-12-27dsbr100: fix and add rigth commentsDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Fix and add right comments. Few empty lines removed. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2008-12-27dsbr100: dev_err instead of dev_warnDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> We should use dev_err (not dev_warn) if video_register_device fails. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>