summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-13ir-kbd-i2c: Switch to the new-style device binding modelMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> Let card drivers probe for IR receiver devices and instantiate them if found. Ultimately it would be better if we could stop probing completely, but I suspect this won't be possible for all card types. There's certainly room for cleanups. For example, some drivers are sharing I2C adapter IDs, so they also had to share the list of I2C addresses being probed for an IR receiver. Now that each driver explicitly says which addresses should be probed, maybe some addresses can be dropped from some drivers. Also, the special cases in saa7134-i2c should probably be handled on a per-board basis. This would be more efficient and less risky than always probing extra addresses on all boards. I'll give it a try later. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-13ir-kbd-i2c: Don't use i2c_client.name for our own needsMauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> In the standard device driver binding model, the name field of struct i2c_client is used to match devices to their drivers, so we must stop using it for internal purposes. Define a separate field in struct IR_i2c as a replacement, and use it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@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-12core: fix potential mutex_unlock without mutex_lock in dvb_dvr_readMauro Carvalho Chehab
From: Simon Arlott <simon@fire.lp0.eu> dvb_dvr_read may unlock the dmxdev mutex and return -ENODEV, except this function is a file op and will never be called with the mutex held. There's existing mutex_lock and mutex_unlock around the actual read but it's commented out. These should probably be uncommented but the read blocks and this could block another non-blocking reader on the mutex instead. This change comments out the extra mutex_unlock. [akpm@linux-foundation.org: cleanups, simplification] Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11change kmalloc to vmalloc for sglist allocation in videobuf_dma_map/unmapMauro Carvalho Chehab
From: Cohen David.A <david.cohen@nokia.com> Change kmalloc()/kfree() to vmalloc()/vfree() for sglist allocation during videobuf_dma_map() and videobuf_dma_unmap() High resolution sensors might require too many contiguous pages to be allocated for sglist by kmalloc() during videobuf_dma_map() (i.e. 256Kib for 8MP sensor). In such situations, kmalloc() could face some problem to find the required free memory. vmalloc() is a safer solution instead, as the allocated memory does not need to be contiguous. Signed-off-by: David Cohen <david.cohen@nokia.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-25merge: http://linuxtv.org/hg/~pinchartl/uvcvideo/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-25merge: http://linuxtv.org/hg/~pb/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-24Add support for Terratec Grabster AV350Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-23gentree.pl: Remove some unused varsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-23em28xx: add Terratec GrabbyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-20Remove support for Genpix-CW3K (damages hardware)Patrick Boettcher
From: Alan Nisota <anisota@gmail.com> I have been informed by the manufacturer that the patch currently in the v4l tree to support the Genpix-CW3K version of the hardware will actually damage the firmware on recent units. As he seems to not want this hardware supported in Linux, and I do not know how to detect the difference between affected and not-affected units, I am requesting the immediate removal of support for this device. This patch removes a portion of the changeset dce7e08ed2b1 applied 2007-08-18 relating to this specific device. Adapted patch to not remove code, but to only to comment it out. Priority: normal Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-05-20DIBUSB_MC : fix i2c to not corrupt eeprom in case of strange read patternPatrick Boettcher
From: matthieu castet <castet.matthieu@free.fr> dibusb_i2c_xfer seems to do things very dangerous : it assumes that it get only write/read request or write request. That means that read can be understood as write. For example a program doing file = open("/dev/i2c-x", O_RDWR); ioctl(file, I2C_SLAVE, 0x50) read(file, data, 10) will corrupt the eeprom as it will be understood as a write. Priority: normal Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-05-20Added USB IDs for Terratec T3 and T5Patrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This patch adds the USB IDs for the Terratec devices T3 and T5. Priority: normal Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-05-20[PATCH] Leadtek WinFast DTV Dongle HPatrick Boettcher
From: tomas petr <tom-petr@seznam.cz> "Leadtek WinFast DTV Dongle H" is a hybrid digital/analog USB-stick TV receiver. The code below allows the digital part to work with dvb_usb in linux. Priority: normal Signed-off-by: tomas petr <tom-petr@seznam.cz> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-05-20Rewrote frontend-attach mechanism to gain noise-less deactivation of submodulesPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> This patch is reorganizing the frontend-attach mechanism in order to gain noise-less (superflous prints) deactivation of submodules. Credits go to Uwe Bugla for helping to clean and test the code. Priority: normal Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-05-20Reducing print-level of I2C error printsPatrick Boettcher
From: Matthias Schwarzott <zzam@gentoo.org> Reducing the print-levle of I2C error prints cleans some unwanted but unavoidable errors from default syslog-level. Priority: normal Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2009-05-19uvcvideo: Add Lenovo Thinkpad SL400 to device list commentsLaurent Pinchart
From: Filipe Rosset <rosset.filipe@gmail.com> Update the 17ef:480b device comment to list Lenovo Thinkpad SL400. Priority: low Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
2009-05-19uvcvideo: Start status polling on device openLaurent Pinchart
From: Laurent Pinchart <laurent.pinchart@skynet.be> Most UVC camera include an interrupt endpoint to report control value changes, video streaming errors and camera button events. The USB controller continuously polls the interrupt endpoint to retrieve such events. This prevents the device from being auto-suspended, and thus consumes power. Reporting video streaming errors don't make sense when the V4L2 device is closed. Control value changes are probably useless as well if nobody listens to the events, although caching will probably have to be completely disabled then. No polling is thus be required when /dev/videoX is not opened. To enable auto-suspend and save power do not poll the interrupt endpoint until the device is open. We lose the ability to detect button events if no application is using the camera. http://bugzilla.kernel.org/show_bug.cgi?id=11948 Priority: normal Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
2009-05-17Siano: smsusb - change exit func debug msgMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Change the debug message of the USB interface driver exit function. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smsusb - fix typo in module descriptionMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix small typo in the module description Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - bug fix at get_device_modeMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix bug that cause error log to echo also if success Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - fix isdb-t firmware nameMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - fix byte ordering bugMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix byte ordering bug. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-17Siano: smscore - fix get_common_buffer bugMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> get common buffers() should block operation until valid buffer is avaliable. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smscards - assign gpio to HPG targetsMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Assign using the new gpio structures, i/o for exist HPG targets, without removing the old implementation. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smscards - fix wrong firmware assignmentMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Remove wrong firmware assignments for Nova, Stellar Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18date: Thu May 14 12:29:35 2009 -0700Mauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Siano: USB - move the device id table to the cards module The card modules is the component which handles various targets, so the IDs table should reside within it. Priority: normal [mchehab@redhat.com: add missing smsendian.h include at smscoreapi.c] Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: bind infra-red componentMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add the infra-red to the makefile and declare the assignment in the cards components. Priority: normal [mchehab@redhat.com: Fixed a few trivial merge conflicts] Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smscards - add gpio look-up tableMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add gpio look-up table for various requirements, any target may select any gpio and assign it to a function Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: move dvb-api headers' includes to dvb adapterMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Move the DVB-API v3 headers' include list from the core component to the smsdvb (DVB adapter) which is the only one that uses them. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: smsusb - add big endien supportMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add support for big endien target hosts, which use USB interface. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18merge: http://kernellabs.com/hg/~dheitmueller/em28xx-isoc-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-18merge: http://kernellabs.com/hg/~dheitmueller/au0828-oldkernel-compilefixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-16em28xx: properly set packet size based on the device's eeprom configuration.Devin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> The em28xx actually has a register that tells the driver what the maximum packet size is (based on a value programmed into the eeprom). Make use of that register instead of assuming a hardcoded value of 564 (since 564 is not correct for devices that do QAM such as the KWorld 340u). Note that for now the em2874 code isn't there, falling back to the 564 value, however this is not a problem since there are not any em2874 based devices in the current v4l-dvb tree). Thanks to Jarod Wilson for detecting the initial problem and figuring out that the isoc configuration was wrong for his device. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Jarod Wilson <jarod@wilsonet.com>
2009-05-14au0828: get rid of debug printk that was causing compile failuresDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Remove a debug printk() line I added which is no longer needed, and happened to be causing compile failures on some earlier kernels in Han's daily compile report. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-05-14cx88: remove xc5000 reset for Pinnacle 800iDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> According to the engineer at PCTV Systems, the xc5000 reset pin is supposed to be on GPIO12. However, despite three nights of effort, pulling that GPIO low didn't reset the xc5000. While pulling MO_SRST_IO low does reset the xc5000, this also resets in the s5h1409 being reset as well. This causes tuning to always fail since the internal state of the s5h1409 does not match the driver's state. Given that the only two conditions in which the driver performs a reset is during firmware load and powering down the chip, I am taking out the reset. We know that the chip is being reset when the cx88 comes online, and not being able to do power management for this board is better than not having any tuning at all. Problem discovered when implementing proper power management for the xc5000, which results in calls to the reset callback *after* s5h1409 is initialized. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Steven Toth <stoth@kernellabs.com> Cc: Chaogui Zhang <czhang1974@gmail.com>
2009-05-14xc5000: add copyright lineDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> Add copyright line for xc5000.c. Priority: normal Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Steven Toth <stoth@kernellabs.com>
2009-05-12Siano: smsdvb - small typo fix ad module authorMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix type at the module description Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsdvb - use 'push' status mechanismMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch replace the old method of pulling the device status by sending "get_statistics" request, to push mode. This make status update much faster, and reduce various operation time (UHF scan now takes 15s instead of 2m). In order to make the change the following modification have been applied: 1) core header - update statistics headers. 2) dvb adapter - omit the statistics request, add handling of status indications. 3) core 'onresponse' - re-route messages addressed to other adapter to the dvb adapter. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsdvb - add big endian supportMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add support for Siano protocol messages with big endian systems. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14Siano: fix compilation error due to the lack of EXTERNAL_SYMBOLMauro Carvalho Chehab
Priority: normal CC: Uri Shkolnik <urishk@yahoo.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: Makefile - add smsendian to buildMauro Carvalho Chehab
From: Uri Shkolnik <urishk@yahoo.com> Add smsendian component to the module build Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsusb - lost buffers bug fixMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch fixes a problem were protocol buffers have been lost during USB disconnect events. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsusb - handle byte ordering and big endianityMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch adds support for byte ordering and big endianity handling for the USB interface driver Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12Siano: smsusb - update licenseMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> This patch updates the license of the USB interface driver Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-11tuner: add support Philips MK5 tunerMauro Carvalho Chehab
From: Dmitri Belimov <d.belimov@gmail.com> Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14merge: http://linuxtv.org/hg/~mkrufky/k2c2Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-14merge: http://endriss@linuxtv.org/hg/~endriss/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-12cx23885: clean up struct names for Hauppauge WinTV-HVR127X devicesMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-05-12cx23885: update model matrix for "k2c2" retail boardsMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>