summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2009-06-16dvb-net: backport upstream changes fb875333c8 and 0eade1f930Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: commit fb875333c80942455551f690f306a899ceeee5df Author: Stephen Hemminger <shemminger@vyatta.com> Date: Wed Jan 7 18:02:53 2009 -0800 dvb: update network device to current API Use internal network_device_stats that exist in network device and net_device_ops. Compile tested only. commit 0eade1f930fa3ba6461b34baf3ed8fa7c4abc40f Author: Wang Chen <wangchen@cn.fujitsu.com> Date: Wed Dec 3 21:13:13 2008 -0800 dvb: Kill directly reference of netdev->priv Simply replace netdev->priv with netdev_priv(). Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16Backport language typo and whitespace differencesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11lgs8gxx: update signal strength scaleMauro Carvalho Chehab
From: David Wong <davidtlwong@gmail.com> lgs8gxx: update signal strength scale Signed-off-by: David T.L. Wong <davidtlwong <at> gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11lgs8gxx: lgs8913 fake signal strength option default onMauro Carvalho Chehab
From: David Wong <davidtlwong@gmail.com> 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 <mchehab@redhat.com>
2009-06-09af9015: fix stack corruption bugMauro Carvalho Chehab
From: Jan Nikitenko <jan.nikitenko@gmail.com> 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 <jan.nikitenko@gmail.com> Acked-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-04Add missing __devexit_p()Mauro Carvalho Chehab
From: Jean Delvare <khali@linux-fr.org> 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 <khali@linux-fr.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16merge: http://kernellabs.com/hg/~dheitmueller/au8522-qam64Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-16dvb-usb/Kconfig: DVBWorld DVB-C USB Cable card needs tda1002x frontendMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Auto-selects tda1002x if !DVB_FE_CUSTOMISE Priority: normal CC: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-14au8522: add support for QAM-64 modulation typeDevin Heitmueller
From: Frank Dischner <phaedrus961@gmail.com> Add support for QAM64 modulation type to the au8522 demod driver. Priority: normal Signed-off-by: Frank Dischner <phaedrus961@gmail.com> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
2009-06-15Add support for yet another SDMC DM1105 based DVB-S card.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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 <liplianin@me.by>
2009-06-15Add support for DVBWorld DVB-C USB Cable card.Igor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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 <liplianin@me.by>
2009-06-15Add keymaps for TeVii and TBS USB DVB-S/S2 cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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 <liplianin@me.by>
2009-06-13Remote control debugging for dw2102 driver based USB cardsIgor M. Liplianin
From: Igor M. Liplianin <liplianin@me.by> 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 <liplianin@me.by>
2009-06-11merge: http://www.kernellabs.com/hg/~pboettcher/v4l-dvb-fixes/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11merge: http://udev.netup.ru/hg/v4l-dvb-aospanMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-06-11b2c2: Fix problems with frontend attachmentPatrick Boettcher
From: Trent Piepho <xyzzy@speakeasy.org> 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. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Patrick Boettcher <pboettcher@kernellabs.com>
2009-06-06TS continuity check: show error message when discontinuity detected or TEI ↵Abylay Ospan
flag detected in header Signed-off-by: Abylay Ospan <aospan@netup.ru>
2009-06-01merge: http://linuxtv.org/hg/~anttip/af9015/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-31af9015: support for Genius TVGo DVB-T03Antti Palosaari
From: Antti Palosaari <crope@iki.fi> Add USB ID (0458:4012) for Genius TVGo DVB-T03. Thanks to Petr Vodicka <vodicka.petr@email.cz> for reporting and testing. Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi> Tested-by: Petr Vodicka <vodicka.petr@email.cz>
2009-05-29merge: http://kernellabs.com/hg/~mkrufky/lgdt3305Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-28lgdt3305: fix 64bit division in function lgdt3305_set_ifMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: high Signed-off-by: Michael Krufky <kernellabs.com>
2009-05-27merge: http://kernellabs.com/hg/~dheitmueller/dvb-frontend-exit-fixMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27Building system: Restore compilation with kernels older than 2.6.29Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Mostly due to ir-kdb-i2c, but also due to two new drivers, compilation with kernels older than 2.6.29 were broken. This quick and dirty changeset, generated semi-automatically, restaures backport to the subsystem by adding lots of #ifs. It is possible to write a much more small changeset that would restore backport without adding so many ifs, but, due to the lack of time, this will also solve it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-27merge: http://kernellabs.com/hg/~stoth/tda10048-mergeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-22lnbp21: Add missing newlineMauro Carvalho Chehab
From: Andy Walls <awalls@radix.net> Reported-by: VDR User <user.vdr@gmail.com> Priority: normal Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-22flexcop-pci: dmesg visible names brokenMauro Carvalho Chehab
From: Matthias Schwarzott <zzam@gentoo.org> Changeset 1589a993f074124c3edfff03656e910bb472eeaa broke user visible names of flexcop-pci devices, as it did reorder the enum of card types, but did not adjust the array containing the card names. Reorder the names, and uses [FC_AIR_DVBT] = "Air2PC/AirStar 2 DVB-T" assignment style for more clarity. It also adds the revision Number to the name for SkyStar rev. 2.3 and rev 2.6 as I think it is useful to see in log output. Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-20dvb_frontend: fix case where fepriv->exit not resetDevin Heitmueller
From: Devin Heitmueller <dheitmueller@kernellabs.com> 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). Priority: high Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Cc: Thierry Lelegard <thierry.lelegard@tv-numeric.com>
2009-05-19Siano: smscore - remove redundant defineMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Remove redundant define. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smsendien - declare function as externMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Declare the object function as 'extern' Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smscore - bind the GPIO SMS protocolMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Bind SMS protocol commands to the GPIO commands Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smscore - remove redundant codeMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> remove redundant code, which in the past handled the various components (now independent modules) registrations. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smsdvb - add DVB v3 eventsMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add various DVB-API v3 events, those events will trig target (card) events. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smsusb - remove redundant ifdefMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Remove a redundant ifdef Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smscards - add board (target) eventsMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add events handling for targets. All board-specific (target specific) should reside here. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smscore - fix some new GPIO definitions namesMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Fix some definitions' names, in order to emphasize the names Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: Add new GPIO management interfaceMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add new GPIO management interface to replace old (buggy) one. Keeping old interface intact for now. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: smssdio - revert to stand alone moduleMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Make the SDIO interface driver a stand alone module. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-05-19Siano: cards - add two additional (USB) devicesMauro Carvalho Chehab
From: Uri Shkolnik <uris@siano-ms.com> Add two additional USB targets, add these to the 'cards' modules and to the 'smsusb' module. Priority: normal Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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-16TDA10048: Missing two I/F's / Pll combinations from the PLL tableSteven Toth
From: Steven Toth <stoth@kernellabs.com> This was causing a lock failure in Australia. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-05-15TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes.Steven Toth
From: Steven Toth <stoth@kernellabs.com> TDA10048: Ensure the I/F changes during DVB-T 6/7/8 bandwidth changes. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.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>