aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb
AgeCommit message (Collapse)AuthorFilesLines
2009-06-16V4L/DVB (11813): Siano: move dvb-api headers' includes to dvb adapterUri Shkolnik2-7/+5
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. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11783): Siano: smsdvb - small typo fix ad module authorUri Shkolnik1-1/+1
Fix type at the module description Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11782): Siano: smsdvb - use 'push' status mechanismUri Shkolnik3-191/+366
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. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11781): Siano: smsdvb - add big endian supportUri Shkolnik1-1/+9
Add support for Siano protocol messages with big endian systems. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11780): Siano: fix compilation error due to the lack of EXTERNAL_SYMBOLMauro Carvalho Chehab1-1/+3
Cc: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11779): Siano: Makefile - add smsendian to buildUri Shkolnik1-1/+1
Add smsendian component to the module build Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11778): Siano: smsusb - lost buffers bug fixUri Shkolnik1-5/+8
This patch fixes a problem were protocol buffers have been lost during USB disconnect events. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11777): Siano: smsusb - handle byte ordering and big endianityUri Shkolnik1-2/+4
This patch adds support for byte ordering and big endianity handling for the USB interface driver Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11776): Siano: smsusb - update licenseUri Shkolnik1-20/+20
This patch updates the license of the USB interface driver Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11729): Siano: smsdvb - remove redundent complete instructionUri Shkolnik1-1/+0
Remove redundant complete instruction from smsdvb, in the past this was used by the statistics state machine, but no longer. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11728): Siano: smsdvb - modify licenseUri Shkolnik1-20/+20
Siano: smsdvb - Fix license to match all other Siano's files Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11727): Siano: core header - update include filesUri Shkolnik1-2/+7
Re-order the include files list Re-order the include files list, put the DVB-API v3 within its own section, within a define container. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11726): Modify the file license to match all other Siano's filesUri Shkolnik1-24/+24
Modify the file license to match all other Siano's files Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11561): Siano: add messages handling for big-endian targetUri Shkolnik2-0/+132
Add code that modify the content of Siano's protocol messages when running with big-endian target. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11559): Siano: add support for infra-red (IR) controllersUri Shkolnik2-0/+394
This patch add support for IR (infra-red) remote controllers. Further commits are needed in order to enable the activation of the IR components. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11556): Siano: core header - indentationUri Shkolnik1-19/+23
Some more indentation for the smscoreapi.h There are no implementation changes in this patch. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11555): Siano: core - move and update the main core structure ↵Uri Shkolnik2-36/+54
declaration smscoreapi - move the main core structure declaration to the header, in order to enable other components (such as IR) to use it. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11554): Siano: core header - add definitions and structuresUri Shkolnik1-2/+25
Add new definitions (of Siano's protocol messages), and protocol structures (for future commits usage) Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11552): Siano: SDIO interface driver - remove two redundant linesUri Shkolnik1-2/+0
Remove two redundant lines, based on Klimov Alexey code review. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11240): siano: add high level SDIO interface driver for SMS based cardsUri Shkolnik1-0/+356
This patch provides SDIO interface driver for SMS (Siano Mobile Silicon) based devices. The patch includes SMS high level SDIO driver and requires patching the kernel SDIO stack, those stack patches had been provided previously. I would like to thank Pierre Ossman, MMC maintainer, who wrote this driver. Signed-off-by: Pierre Ossman <[email protected]> Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11877): lgdt3305: fix 64bit division in function lgdt3305_set_ifMichael Krufky1-14/+3
Signed-off-by: Michael Krufky <kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11875): dvb_frontend: fix case where fepriv->exit not resetDevin Heitmueller1-0/+1
The fact that we now explicitly set fepriv->exit = 1 when the thread is shutting down exposed an edge case where it was not being reset back to zero once the thread went away in some cases. This resulted in failures in cases where the frontend was closed, and then opened O_RDONLY, since in that case the thread is not being restarted but it was checking the fepriv->exit flag. Thanks to Thierry Lelegard, who and encountered and debugged a large portion of the issue in the same twelve hours that I did (as well as testing my patch). Cc: Thierry Lelegard <[email protected]> Signed-off-by: Devin Heitmueller <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11812): Siano: smsusb - add big endian supportUri Shkolnik1-0/+1
Add support for big endien target hosts, which use USB interface. Signed-off-by: Uri Shkolnik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11785): dvb_frontend: fix race condition resulting in dropped ↵Devin Heitmueller1-0/+1
tuning commands A race condition was detected in the case that putting the tuner to sleep takes an unusually long period of time, combined with applications that quickly close/open the dvb frontend. The kaffeine channel scanner closes and reopens the dvb frontend between each tuning attempt. If it takes an unusually longer period of time to put the tuner to sleep (for example, the Pinnacle 801e takes 660 ms), the dvb_frontend thread will still be in a running state (and hence fepriv->thread is still set) but the fepriv->exit field will still be zero. As a result, if a dvb_frontend_start() call arrives while the frontend thread is in the process of terminating, the call will return 0 without actually starting a new thread. This results in the tuning request being dropped. To address this, mark fepriv->exit as soon as we know the thread is going to be terminated, so that dvb_frontend_start() knows to start a new instance. Problem encountered with Kaffeine 0.8.7 doing ATSC scanning against the Pinnacle 801e tuner, in conjunction with new code to power down the xc5000 when not in use. Signed-off-by: Devin Heitmueller <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (12001): lgs8gxx: update signal strength scaleDavid Wong1-3/+3
lgs8gxx: update signal strength scale Signed-off-by: David T.L. Wong <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (12000): lgs8gxx: lgs8913 fake signal strength option default onDavid Wong1-2/+2
lgs8gxx: lgs8913 fake signal strength option default on. Original calculation is too slow. Signed-off-by: David T.L. Wong <davidtlwong <at> gmail.com> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11999): af9015: fix stack corruption bugJan Nikitenko1-1/+1
This patch fixes stack corruption bug present in af9015_eeprom_dump(): the buffer buf is one byte smaller than required - there is 4 chars for address prefix, 16*3 chars for dump of 16 eeprom bytes per line and 1 byte for zero ending the string required, i.e. 53 bytes, but only 52 are provided. The one byte missing in stack based buffer buf causes following oops on MIPS little endian platform, because i2c_adap pointer in af9015_af9013_frontend_attach() is corrupted by inlined function af9015_eeprom_dump(): CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 803a4488, ra == c049a1c8 Oops[#1]: Cpu 0 $ 0 : 00000000 10003c00 00000000 803a4468 $ 4 : 8f17c600 8f067b30 00000002 00000038 $ 8 : 00000001 8faf3e98 11da000d 09010002 $12 : 00000000 00000000 00000000 0000000a $16 : 8f17c600 8f067b68 8faf3c00 8f067c04 $20 : 8f067b9c 00000100 8f067bf0 80104100 $24 : 00000000 2aba9fb0 $28 : 8f066000 8f067af0 802cbc48 c049a1c8 Hi : 00000000 Lo : 00000000 epc : 803a4488 i2c_transfer+0x20/0x104 Not tainted ra : c049a1c8 af9013_read_reg+0x78/0xc4 [af9013] Status: 10003c03 KERNEL EXL IE Cause : 00808008 BadVA : 00000000 PrId : 03030200 (Au1550) Modules linked in: af9013 dvb_usb_af9015(+) dvb_usb dvb_core firmware_class i2c_au1550 au1550_spi Process modprobe (pid: 2757, threadinfo=8f066000, task=8fade098, tls=2aad6470) Stack : c049f5e0 80163090 805ba880 00000100 8f067bf0 0000d733 8f067b68 8faf3c00 8f067c04 c049a1c8 80163bc0 8056a630 8f067b40 80163224 80569fc8 8f0033d7 00000038 80140003 8f067b2c 00010038 c0420001 8f067b28 c049f5e0 00000004 00000004 c049a524 c049d5a8 c049d5a8 00000000 803a6700 00000000 8f17c600 c042a7a4 8f17c600 c042a7a4 c049c924 00000000 00000000 00000002 613a6c00 ... Call Trace: [<803a4488>] i2c_transfer+0x20/0x104 [<c049a1c8>] af9013_read_reg+0x78/0xc4 [af9013] [<c049a524>] af9013_read_reg_bits+0x2c/0x70 [af9013] [<c049c924>] af9013_attach+0x98/0x65c [af9013] [<c04257bc>] af9015_af9013_frontend_attach+0x214/0x67c [dvb_usb_af9015] [<c03e2428>] dvb_usb_adapter_frontend_init+0x20/0x12c [dvb_usb] [<c03e1ad8>] dvb_usb_device_init+0x374/0x6b0 [dvb_usb] [<c0426120>] af9015_usb_probe+0x4fc/0xfcc [dvb_usb_af9015] [<80381024>] usb_probe_interface+0xbc/0x218 [<803227fc>] driver_probe_device+0x12c/0x30c [<80322a80>] __driver_attach+0xa4/0xac [<80321ed0>] bus_for_each_dev+0x60/0xd0 [<8032162c>] bus_add_driver+0x1e8/0x2a8 [<80322cdc>] driver_register+0x7c/0x17c [<80380d30>] usb_register_driver+0xa0/0x12c [<c042e030>] af9015_usb_module_init+0x30/0x6c [dvb_usb_af9015] [<8010d2a4>] __kprobes_text_end+0x3c/0x1f4 [<80167150>] sys_init_module+0xb8/0x1cc [<80102370>] stack_done+0x20/0x3c Code: afb10018 7000003f 00808021 <8c430000> 7000003f 1060002d 00c09021 8f830014 3c02efff Signed-off-by: Jan Nikitenko <[email protected]> Acked-by: Antti Palosaari <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11992): Add missing __devexit_p()Jean Delvare1-7/+1
Add missing __devexit_p() to several drivers. Also add a few missing __init, __devinit and __exit markers. These errors could result in build failures depending on the kernel configuration. Signed-off-by: Jean Delvare <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11987): au8522: add support for QAM-64 modulation typeFrank Dischner1-6/+92
Add support for QAM64 modulation type to the au8522 demod driver. Signed-off-by: Frank Dischner <[email protected]> Signed-off-by: Devin Heitmueller <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11986): Kconfig: DVBWorld DVB-C USB Cable card needs tda1002x frontendMauro Carvalho Chehab1-0/+1
Auto-selects tda1002x if !DVB_FE_CUSTOMISE Cc: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11984): Add support for yet another SDMC DM1105 based DVB-S card.Igor M. Liplianin1-41/+80
Add support for SDMC DM1105 based DVB-S cards with PCI ID 195d:1105 Also create separate workqueue for demuxing. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11983): Add support for DVBWorld DVB-C USB Cable card.Igor M. Liplianin1-11/+165
DVBWorld DVB-C USB Cable card contains TUA6034 tuner, TDA10023 demod and Cypress FX-2 controller. http://www.worlddvb.com/product/htm/usbc.htm Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11982): Add keymaps for TeVii and TBS USB DVB-S/S2 cardsIgor M. Liplianin1-16/+110
Add keymaps for TeVii and TBS USB DVB-S/S2 cards Also module parameter named keymap inserted for override default keymap. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11981): Remote control debugging for dw2102 driver based USB cardsIgor M. Liplianin2-7/+21
Remote control debugging for dw2102 driver based USB cards It includes DVBWorld, TeVii, Terratec and others. Type 'modprobe dvb-usb-dw2102 debug=4', then look at dmesg output. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11964): b2c2: Fix problems with frontend attachmentTrent Piepho1-83/+113
The frontend attachment code didn't handle cases where the frontend partially failed to attach. For instance, when the demod was attached successfully but the tuner driver wasn't compiled or fails to init for some reason. In these cases we try to clean up the partial attachment and fail instead of proceeding with a broken frontend. If frontend registration fails, clean up with dvb_frontend_detach() rather than just calling the frontend's main release method. The former does some additional stuff, like release an attached tuner and take care of putting symbols when dynamic binding is used. In skystar2_rev23_attach() it's not necessary to set fc->dev_type, that gets set before skystar2_rev23_attach() is called. Signed-off-by: Trent Piepho <[email protected]> Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11931): lnbp21: Add missing newlineAndy Walls1-1/+1
Reported-by: VDR User <[email protected]> Signed-off-by: Andy Walls <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11930): TS continuity check: show error message when discontinuity ↵Abylay Ospan2-0/+46
detected or TEI flag detected in header Signed-off-by: Abylay Ospan <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11915): af9015: support for Genius TVGo DVB-T03Antti Palosaari2-1/+8
Add USB ID (0458:4012) for Genius TVGo DVB-T03. Thanks to Petr Vodicka <[email protected]> for reporting and testing. Tested-by: Petr Vodicka <[email protected]> Signed-off-by: Antti Palosaari <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11857): TDA10048: Missing two I/F's / Pll combinations from the PLL ↵Steven Toth1-1/+3
table This was causing a lock failure in Australia. Signed-off-by: Steven Toth <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11854): TDA10048: Ensure the I/F changes during DVB-T 6/7/8 ↵Steven Toth2-63/+127
bandwidth changes. TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. Signed-off-by: Steven Toth <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11841): core: fix potential mutex_unlock without mutex_lock in ↵Simon Arlott1-10/+4
dvb_dvr_read 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. [[email protected]: cleanups, simplification] Signed-off-by: Simon Arlott <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11833): dvb-usb: Remove support for Genpix-CW3K (damages hardware)Alan Nisota1-6/+2
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. Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11832): dibusb_mc: fix i2c to not corrupt eeprom in case of strange ↵matthieu castet1-2/+5
read pattern 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. Signed-off-by: Matthieu CASTET <[email protected]> Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11831): dib0700: added USB IDs for Terratec T3 and T5Patrick Boettcher2-4/+10
This patch adds the USB IDs for the Terratec devices T3 and T5. Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11830): dib0700: add support for Leadtek WinFast DTV Dongle Htomas petr2-1/+8
"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. Signed-off-by: tomas petr <[email protected]> Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11829): Rewrote frontend-attach mechanism to gain noise-less ↵Patrick Boettcher2-355/+413
deactivation of submodules 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. Signed-off-by: Uwe Bugla <[email protected]> Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11828): Reducing print-level of I2C error printsMatthias Schwarzott2-2/+2
Reducing the print-levle of I2C error prints cleans some unwanted but unavoidable errors from default syslog-level. Signed-off-by: Matthias Schwarzott <[email protected]> Signed-off-by: Patrick Boettcher <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11801): dib0700: reduce xc5000 sleep time for Pinnacle 801e to 10msDevin Heitmueller1-2/+2
According to the xc5000 spec, the reset pin only needs to be held low for 10ms. Signed-off-by: Devin Heitmueller <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11763): dvb-ttpci: Some whitespace adjustmentsOliver Endriss1-13/+6
Some whitespace adjustments. Signed-off-by: Oliver Endriss <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-06-16V4L/DVB (11762): dvb-ttpci: Fixed return code of av7110_av_start_playOliver Endriss1-2/+0
av7110_av_start_play() should return 0 on success. Signed-off-by: Oliver Endriss <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>