summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio
AgeCommit message (Collapse)Author
2009-07-21backport commit 405f55712dfe464b3240d7816cc4fe4174831be2Mauro Carvalho Chehab
kernel-sync: Author: Alexey Dobriyan <adobriyan@gmail.com> Date: Sat Jul 11 22:08:37 2009 +0400 headers: smp_lock.h redux * Remove smp_lock.h from files which don't need it (including some headers!) * Add smp_lock.h to files which do need it * Make smp_lock.h include conditional in hardirq.h It's needed only for one kernel_locked() usage which is under CONFIG_PREEMPT This will make hardirq.h inclusion cheaper for every PREEMPT=n config (which includes allmodconfig/allyesconfig, BTW) Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-10merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-rdsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-07-05radio-si470x: fix lock imbalanceDouglas Schilling Landgraf
From: Jiri Slaby <jirislaby@gmail.com> There is one path with omitted unlock in si470x_fops_release. Fix that. Priority: normal Signed-off-by: Jiri Slaby <jirislaby@gmail.com> CC: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-06-20radio-si470x: conform to the RDS spec.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-06-20radio-cadet: conform to the RDS spec.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-06-30merge: 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>
2009-06-21removed v4l2_queryctrl in favor of v4l2_ctrl_query_fillTobias Lorenz
Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-06-21CleanupTobias Lorenz
- Remove user count log messages - Comments adopted to general style Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-06-21Version 1.0.10Tobias Lorenz
Add support for interrupt mode for RDS endpoint, instead of polling. Improves RDS reception significantly Signed-off-by: Edouard Lafargue <edouard@lafargue.name> Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net>
2009-06-20radio-tea5764: fix incorrect rxsubchans valueMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> rxsubchans was only set when stereo was detected, otherwise it was left to 0 instead of setting it to mono. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11dsbr100: change radio->muted to radio->status, update suspend/resumeDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch renames radio->muted to radio->status, add defines for that variable, and fixes suspend/resume procedure. Radio->status set to STOPPED in usb_dsbr100_probe because of removing open call. Also, patch increases driver version. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-06-11dsbr100: no need to pass curfreq value to dsbr100_setfreq()Douglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Small cleanup of dsbr100_setfreq(). No need to pass radio->curfreq value to this function. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-06-11dsbr100: remove usb_dsbr100_open/close callsDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-06-11dsbr100: remove radio->users counterDouglas Schilling Landgraf
From: Alexey Klimov <klimov.linux@gmail.com> Patch removes radio->users counter because it is not in use. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-05-12radio-mr800.c: missing mutex includeMauro Carvalho Chehab
From: Alessio Igor Bogani <abogani@texware.it> radio-mr800.c uses struct mutex, so while <linux/mutex.h> seems to be pulled in indirectly by one of the headers it already includes, the right thing is to include it directly. Signed-off-by: Alessio Igor Bogani <abogani@texware.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02radio-fm16: fix g_tuner.Mauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> g_tuner handled capability, audmode and rxsubchans incorrectly. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02radio-fm16: cleanupsMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> Remove bogus flags field Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-02ivtv/radio: fix V4L2_TUNER_MODE/V4L2_TUNER_SUB confusionMauro Carvalho Chehab
From: Hans Verkuil <hverkuil@xs4all.nl> V4L2_TUNER_MODE_ was used in a few places where V4L2_TUNER_SUB_ should have been used. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-05Fix a warning introduced by git commit ec5f5bf80501abfe2da2897cfcde8452b545aacbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> /home/v4l/master/v4l/radio-si470x.c: In function 'si470x_fops_release': /home/v4l/master/v4l/radio-si470x.c:1218: warning: label 'unlock' defined but not used Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-29backport commit ec5f5bf80501abfe2da2897cfcde8452b545aacbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Author: Alan Cox <alan@lxorguk.ukuu.org.uk> Date: Wed Apr 22 15:03:15 2009 +0100 radio_si470x: Fix free memory corruption The release path for a disconnected device frees the object then unlocks the mutex in the freed object... Found by Dan Carpenter using Smatch Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-03radio-mr800: convert to to v4l2_deviceMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> radio-mr800: convert to to v4l2_device. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-03dsbr100 radio: convert to to v4l2_deviceMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> dsbr100: convert to v4l2_device. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-01radio-si470x: fix possible bug with freeing memory orderMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> Patch fixes cleanup procedure in si470x_usb_driver_probe. Add new label err_video and change order of freeing memory. Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-29pci-isa radios: remove open and release functionsMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> Patch removes empty open and release functions in pci and isa radio drivers, setting them to NULL. V4L module doesn't call for them due to previous patch. Priority: normal Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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>