summaryrefslogtreecommitdiff
path: root/linux
AgeCommit message (Collapse)Author
2008-01-25DiB7070: Reception quality improvedPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> Removing two bugs to improve sensitivity for DiB7070 and Dib7000P with MT2266. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25From: Olivier DANET <odanet at caramail.com>Patrick Boettcher
Here is a patch for Hauppage Nova-T-Stick and Nova-T-500 users. It sets the MT2060 IF1 frequency according to the calibration values stored in the EEPROM. It is supposed to enhance the signal quality, but, hey, there is no guarantee. Feedbacks would be much appreciated, to know whether it deserves being applied. Signed-off-by: Olivier DANET <odanet at caramail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25DiB0700: Start streaming the right wayPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> There was a mistake in the way how to start the streaming in the dib0700. This patch fixes that. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25Fix some tuning problemsPatrick Boettcher
From: Soeren Moch <Soeren.Moch@stud.uni-hannover.de> The attached patch solves all my vdr tuning problems on a dib7000p nova-t stick as far as I could check within the last weekend. It disables streaming while tuning, like that the number of faulty TS packets is reduced. Signed-off-by: Soeren Moch <Soeren.Moch@stud.uni-hannover.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25[PATCH] Support for myTV.tPatrick Boettcher
From: Darren Salt <linux@youmustbejoking.demon.co.uk> Here's a roll-up which provides support for both this and the myTV.t. Signed-Off-By: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25Add support for WinTV Nova-T-CE driverPatrick Boettcher
From: Tim Taubert <ttmails@gmx.de> Add support for WinTV Nova-T-CE driver Signed-off-by: Tim Taubert <ttmails@gmx.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25fix autoserach in the Hauppauge NOVA-T 500Patrick Boettcher
From: Jose Alberto Reguero <jareguero@telefonica.net> This patch fix autoserach in the Hauppauge NOVA-T 500. Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25[PATCH] ASUS My Cinema U3000 Mini DVBT TunerPatrick Boettcher
From: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Adding support for ASUS My Cinema U3000 Mini DVBT Tuner Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25Artec T14BR patchesPatrick Boettcher
From: Yousef Lamlum <yousef@youseflamlum.com> Added Artec T14BR support Signed-Off-By: Yousef Lamlum <yousef@youseflamlum.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2008-01-25merge: http://linuxtv.org/hg/~stoth/oopsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-25radio-si570x: Some fixes and new USB ID additionMauro Carvalho Chehab
From: Tobias Lorenz <tobias.lorenz@gmx.net> - avoid poss. locking when doing copy_to_user which may sleep - RDS is automatically activated on read now - code cleaned of unnecessary rds_commands - USB Vendor/Product ID for ADS/Tech FM Radio Receiver verified (thanks to Guillaume RAMOUSSE) Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-25radio-si470x: Some cleanupsMauro Carvalho Chehab
From: Tobias Lorenz <tobias.lorenz@gmx.net> - code reordered to avoid function prototypes - switch/case defaults are now more user-friendly - unified comment style - applied all checkpatch.pl v1.12 suggestions except the warning about the too long lines with bit comments - renamed FMRADIO to RADIO to cut line length (checkpatch.pl) Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-24xc5000: Fix OOPS caused by missing firmware.Steven Toth
From: Steven Toth <stoth@hauppauge.com> xc5000: Fix OOPS caused by missing firmware. Signed-off-by: Chaogui Zhang <czhang1974@gmail.com> Acked-by: Steven Toth <stoth@hauppauge.com>
2008-01-24em28xx: remove has_tunerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> has_tuner flag doesn't make much sense, since tuner_type=TUNER_ABSENT means the same thing. Having two ways to say that a tuner is not present is not nice, since it may lead to bad setups. In fact, with the previous code, if a device were using has_tuner=0, but the user forces a tuner, with modprobe option tuner=type, the modprobe option won't work. Also, tveeprom returns TUNER_ABSENT, when tuner is unknown or absent. So, with the previous logic, in this case, the driver should set has_tuner=0, or has_tuner=1 otherwise. Instead of adding several additional tests and setups, better just to remove .has_tuner. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-21cx88: Ensure the tuner is reset correctlySteven Toth
From: Steven Toth <stoth@hauppauge.com> Previous patches assume the tuner was on a different gpio. This patch corrects this. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>
2008-01-21IR corrections for the Pinnacle 800iSteven Toth
From: Steven Toth <stoth@hauppauge.com> IR corrections for the Pinnacle 800i Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Chaogui Zhang <czhang1974@gmail.com>
2008-01-21merge: http://linuxtv.org/hg/~mkrufky/pendingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-21tuner: suppress obsolete tuner i2c address warning for XC5000 tunersMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> We already know that the XC5000 tuner can only be located at i2c address 0x61, 0x62, 0x63 or 0x64 We shouldn't display this warning if the XC5000 tuner is present. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-21make tuner names consistent with standard casesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Change TDA9887 to tda9887. TDA8290 shall reflect the actual hardware present in its name, ie: tda8295+18271 tda8290+8275a Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-20 ansonic branded dvb-t usb stick support in the af9005 driverMauro Carvalho Chehab
From: Luca Olivetti <luca@ventoso.org> Marcos Melero (marcosmelero at gmail.com) reported he could make his dvb-t usb stick work with the af9005 driver by changing the device ids (10b9:6000). The stick is branded "Ansonic" (one of the brands of a spanish chain of supermarkets) with no other identification of the model. Since neither Marcos nor me know the OEM for the stick, in the attached patch I used Ansonic for the ids/description. Signed-off-by: Luca Olivetti <luca@ventoso.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-20merge: http://linuxtv.org/hg/~mkrufky/tda18271Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-19tda18271: when tuning digital, the analog demod must be tri-statedMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Call analog_ops.standby during tda18271_set_params, to put the tda8295 in tri-state when tuning digital channels. Otherwise the tda8295 will interfere with the signal coming from the tda18271 into the digital demodulator. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-17merge: http://linuxtv.org/hg/~mkrufky/build-fixSteven Toth
From: Steven Toth <stoth@hauppauge.com> merge: http://linuxtv.org/hg/~mkrufky/build-fix Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-17fix broken build when CONFIG_USB_SI470X is setMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-15Finalise support for the Pinnacle HD 8000iSteven Toth
From: Steven Toth <stoth@hauppauge.com> Correctly set the atatch structures, enable IR, configure the xc5000 tuner includes. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-15Adds the proper compatibility code for radio-si470x and stk-webcamMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Make radio-si470x and stk-webcam backward compatible with older kernels. This patch adds compat.h header for those files, reorder include order and adds USB_DEVICE_AND_INTERFACE_INFO macro. Thiw way, stk-webcam is backward compatible with 2.6.22, and radio-si470x with kernel 2.6.20. The backports weren't tested, but compile fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-14USB radio driver for Silicon Labs Si470x FM Radio ReceiversMauro Carvalho Chehab
From: Tobias Lorenz <tobias.lorenz@gmx.net> this patch adds a new driver for the Silicon Labs Si470x FM Radio Receiver. It should also work for the identical ADS/Tech FM Radio Receiver (formerly Instant FM Music) as soon as I find out the USB Vendor and Product ID. The driver is inspired by several other USB and radio drivers, but mainly from the D-Link DSB-R100 USB radio (dsbr100.c). The USB stick currently has an Si4701 FM RDS radio receiver. But the other Si470x devices are pin and register compatible, so that in the future the driver can easily be patched to support these too. Therefore I named the driver radio-si470x and the configuration option usb-si470x. The driver itself just provides the control function over the radio. For getting audio back, the device support the USB audio class, which is implemented in the already existing driver. I tested the driver in the last days, until it now satisfies all my functionality and robustness requirements. The application I used for testing was kradio. Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-14Fix build breakage of the bttv driver, when advanced debugging is not enabledMauro Carvalho Chehab
From: Zoltan Devai <zdevai@gmail.com> Signed-off-by: Zoltan Devai <zdevai@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-07 Cleans up error handling on or51xxx_attachMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> state is already NULL. Reviewed-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-18include sound/driver.h should be before sound/core.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Add compat.h at the proper place Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-18Remove sound/driver.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> sound/driver.h is already included by sound/core. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-05xc5000: Small amount of cleanup and commenting.Steven Toth
From: Steven Toth <stoth@hauppauge.com> xc5000: Small amount of cleanup and commenting, just for clarification. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-05XC5000: Fix support for HVR1500Q broken by patch 1Steven Toth
From: Steven Toth <stoth@hauppauge.com> From Zhang: This patch fixes support for the HVR1500Q which was broken when the xc5000 analog patch was added. Signed-off-by: Chaogui Zhang <czhang1974@gmail.com> Patch committed as-is, cleanups to follows .... Steve Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-05New card supported(partially): Pinnacle 800iSteven Toth
From: Steven Toth <stoth@hauppauge.com> From Zhang: This patch continues the support for the Pinnacle HD 800i. Signed-off-by: Chaogui Zhang <czhang1974@gmail.com> Patch committed as-is, cleanups to follow ... Steve Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-05xc5000: Tuner analog supportSteven Toth
From: Steven Toth <stoth@hauppauge.com> From Zhang: This an updated patch that adds analog support for the xc5000 tuner driver. it was tested on a Pinnacle PCTV HD 800i card (patches to follow). Patch commited as-is, cleanup to follow ... Steve. Signed-off-by: Chaogui Zhang <czhang1974@gmail.com> Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-15s5h1409: Bug fix for parallel support.Steven Toth
From: Steven Toth <stoth@hauppauge.com> Parallel support was not working with the s5h1409 and the Pinnacle HD800i. This patch fixes the demodulator driver and ensures that all existing s5h1409 based products configure the demodulator correctly. Signed-off-by: Steven Toth <stoth@hauppauge.com>
2008-01-01 radio: Use video_device_release rather than kfreeMauro Carvalho Chehab
From: Julia Lawall <julia@diku.dk> The file drivers/media/video/videodev.c defines both video_device_alloc and video_device_release. These are essentially just kzmalloc and kfree, respectively, but it seems better to use video_device_release, as done in the other media files, rather than kfree, in case the implementation some day changes. The problem was found using the following semantic match. (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ type T,T1,T2; identifier E; statement S; expression x1,x2,x3; int ret; @@ T E; ... * E = video_device_alloc(...); if (E == NULL) S ... when != video_device_release(...,(T1)E,...) when != if (E != NULL) { ... video_device_release(...,(T1)E,...); ...} when != x1 = (T1)E when != E = x3; when any if (...) { ... when != video_device_release(...,(T2)E,...) when != if (E != NULL) { ... video_device_release(...,(T2)E,...); ...} when != x2 = (T2)E ( * return; | * return ret; ) } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-12 drivers/media/common: Add missing video_device_releaseMauro Carvalho Chehab
From: Julia Lawall <julia@diku.dk> Video_device_alloc returns the result of a kzalloc. In this case, the value is stored in a local variable which is not copied elsewhere before the point of the error return (video_register_device does not save its first argument anywhere if it returns a negative value). Thus, a video_device_release it needed before the error return. The problem was found using the following semantic match. (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ type T,T1,T2; identifier E; statement S; expression x1,x2,x3; int ret; @@ T E; ... * E = video_device_alloc(...); if (E == NULL) S ... when != video_device_release(...,(T1)E,...) when != if (E != NULL) { ... video_device_release(...,(T1)E,...); ...} when != x1 = (T1)E when != E = x3; when any if (...) { ... when != video_device_release(...,(T2)E,...) when != if (E != NULL) { ... video_device_release(...,(T2)E,...); ...} when != x2 = (T2)E ( * return; | * return ret; ) } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> CC: Oliver Endriss <o.endriss@gmx.de> CC: Michael Hunold <michael@mihu.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-14merge: http://linuxtv.org/hg/~mkrufky/tda18271Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-14tda18271: tda18271_cal_on_startup should be declared staticMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This module option variable is only handled within the file tda18271-fe.c - Declare this variable as static. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-14merge: http://linuxtv.org/hg/~mkrufky/pendingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-14merge: http://linuxtv.org/hg/~tmerle/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-13tda18271: provide a choice whether to perform rf cal on init or on first tuneMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> If module option "cal" is set to 1, the ~22 sec rf tracking filter calibration sequence will be invoked on startup. Otherwise, the calibration will take place during the first tune. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-13Kconfig: add missing selections for VIDEO_PVRUSB2Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> VIDEO_PVRUSB2 must select: VIDEO_SAA711X, VIDEO_CX25840, VIDEO_MSP3400, and VIDEO_WM8775 Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Mike Isely <isely@pobox.com>
2008-01-13Fix a regresion left by changeset 7e65d6e8f6dfMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Changeset 7e65d6e8f6df removed a very bad hack on mmap(). However, the fixes weren't considering usermap and overlay memory models. This were breaking direct reading from /dev/video?, used mostly by mpeg aware drivers. Thanks to Steven Toth <stoth@linuxtv.org> for reporting the issue and bissecting it. CC: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-13Fix timestamp presentation on vivi driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Due to date overflow, vivi were not working fine anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-13tda18271: test RF_CAL_OK to see if we need additional RF calibrationMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Test RF_CAL_OK to see if we need to perform the RF tracking filter calibration after returning from standby. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-13tda18271: put the device in standby mode during sleep()Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add function, tda18271_set_standby_mode. During sleep, enter standby mode with slave tuner output enabled, loop through on and xtal oscillator on. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-01-13Move all board specific configuration to em28xx-cards.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This cleanup moves the board-specific configurations to em28xx-cards.c. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-13Add USB ID for a newer variant of Hauppauge WinTV USB2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Jeroen Janssen <Jeroen.Janssen@vub.ac.be> CC: Jeroen Janssen <Jeroen.Janssen@vub.ac.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>