summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
AgeCommit message (Collapse)Author
2008-08-22v4l-dvb: fix compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22v4l2: fix a bunch of compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22merge: http://linuxtv.org/hg/~ajacquet/v4l-dvb/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22drx397xD: fix compilation error caused by changeset 71046dfb0853Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: Normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20drx397xD.c sparse annotationsMauro Carvalho Chehab
From: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-20dvb: drx397xD: checkpatch.pl cleanupsMauro Carvalho Chehab
From: Felipe Balbi <felipe.balbi@nokia.com> This driver sure needs some rework. For now, let's try to clean it up a bit before start reimplementing anything. checkpatch.pl still not happy with this driver after this patch, but the most annoying errors are gone, comments now use C-style only, labels are well placed and some other minor fixes. Some more clean up patches will come as I work on this driver. Please review it carefully. Priority: normal Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: Henk Vergonet <henk.vergonet@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> [mchehab@infradead.org: Manually fixed some conflicts with a previous patch] Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-22merge: http://linuxtv.org/hg/~mkrufky/sms1xxxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-21sms1xxx: fix typo in license headerMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This should have read, "GNU General Public License version 2" rather than, "GNU General Public License version 3" This was actually a typo mass-blunder -- this is not a change in licence, as the code was always GPLv2. Priority: high Signed-off-by: Uri Shkolnik <uris@siano-ms.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-18dtv5100: remove prohibited space...Antoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18dtv5100: remove old definition from headerAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-18merge: v4l-dvbAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-12dtv5100: CodingStyle cleanupsAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-12dtv5100: replace dummy frontend by zl10353Antoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Remove the dtv5100-fe.c dummy frontend and replace it by the real frontend for the chipset. Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-11Initial support for AME DTV-5100 USB2.0 DVB-TAntoine Jacquet
From: Antoine Jacquet <royale@zerezo.com> Basic support for AME DTV-5100 USB2.0 DVB-T using the qt1010 tuner and a dummy frontend. Priority: normal Signed-off-by: Antoine Jacquet <royale@zerezo.com>
2008-08-09lgs8gl5: fix build warningsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix the following build warnings: lgs8gl5.c: In function 'lgs8gl5_read_reg': lgs8gl5.c:95: warning: unused variable 'j' lgs8gl5.c: In function 'lgs8gl5_update_alt_reg': lgs8gl5.c:135: warning: unused variable 'j' lgs8gl5.c: In function 'lgs8gl5_read_ber': lgs8gl5.c:300: warning: unused variable 'state' lgs8gl5.c: In function 'lgs8gl5_read_ucblocks': lgs8gl5.c:332: warning: unused variable 'state' lgs8gl5.c: At top level: lgs8gl5.c:181: warning: 'lgs8gl5_set_inversion' defined but not used Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-09cxusb: add lgs8gl5 and support for Magic-Pro DMB-TH usb stickMichael Krufky
From: Timothy Lee <timothy.lee@siriushk.com> Add support for Magic-Pro DMB-TH usb stick. DMB-TH is the HDTV broadcast standard used in Hong Kong and China. [...] I've also attached a second patch against the dvb-apps repository which adds a DMB-TH scan file for Hong Kong. Since the ProHDTV stick contains a DMB-TH decoder (lgs8gl5) onboard, it outputs MPEG-TS to the PC. Priority: normal Signed-off-by: Timothy Lee <timothy.lee@siriushk.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-09fix DVB_FE_CUSTOMISE for DVB_DIB7000P and DVB_TUNER_DIB0070 with dvb-usb-cxusbMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Allow dvb-usb-cxusb to be built without dib7000p or dib0070 selected Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-09cxusb: fix checkpatch warnings & errorsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix the following checkpatch.pl errors and warnings: ERROR: do not use assignment in if condition 117: FILE: linux/drivers/media/dvb/dvb-usb/cxusb.c:819: + if ((adap->fe = dvb_attach(dib7000p_attach, ERROR: switch and case should be at the same indent 155: FILE: linux/drivers/media/dvb/dvb-usb/cxusb.c:857: + switch (band) { + case BAND_VHF: offset = 950; break; + case BAND_UHF: + default: offset = 550; break; WARNING: line over 80 characters 169: FILE: linux/drivers/media/dvb/dvb-usb/cxusb.c:871: + struct i2c_adapter *tun_i2c = dib7000p_get_i2c_master(adap->fe, DIBX000_I2C_INTERFACE_TUNER, 1); WARNING: line over 80 characters 213: FILE: linux/drivers/media/dvb/dvb-usb/cxusb.c:1342: +static struct dvb_usb_device_properties cxusb_bluebird_dualdig4_rev2_properties = { WARNING: line over 80 characters 226: FILE: linux/drivers/media/dvb/dvb-usb/cxusb.c:1355: + .size_of_priv = sizeof(struct dib0700_adapter_state), total: 2 errors, 3 warnings, 266 lines checked Priority: normal Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Anton Blanchard <anton@samba.org>
2008-08-09cxusb: add support for DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2)Michael Krufky
From: Anton Blanchard <anton@samba.org> Add support for revision 2 of the DViCO FusionHDTV DVB-T Dual Digital 4 which has new tuners and demodulators (2 x DIB7070p). With this patch both DVB reception and IR works. The dib7000p driver currently hardwires the output mode to OUTMODE_MPEG2_SERIAL regardless of what we ask for. Modify it to allow OUTMODE_MPEG2_PAR_GATED_CLK to be set. Longer term we should remove the check completely and set the output mode correctly in all the callers. Add Kconfig bits to ensure the dib7000p and dib0070 modules are enabled. It would be nice to only do this for the !DVB_FE_CUSTOMISE case, but this is what the other DIB7070 module does (there are a number of module dependencies in the attach code). Priority: normal Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-26merge: http://linuxtv.org/hg/~mkrufky/sms1xxxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04v4l: fix compile errors/warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04merge: http://linuxtv.org/hg/~mkrufky/cxusbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://linuxtv.org/hg/~hgoede/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-01au8522: remove if frequency settings from vsb/qam modulation tablesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Since IF frequency is set after the vsb/qam modulation tables are written, remove the redundant register settings from the vsb/qam modulation tables. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-01au8522: clean up function au8522_set_ifMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> re-write this function to make it simpler Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-30cxusb: fix OOPS and broken tuning regression on FusionHDTV Dual Digital 4Michael Krufky
From: Robert Lowery <rglowery@exemail.com.au> quoting Robert Lowery: I think I've found the cause of the oops. [...] BTW it appears I have fixed my tuning problems with the updated patch below. This reverts a change Mauro made a while back. All is good now :) [...] The good news is that I've got a better patch that definitely works this time and even better, makes use of the standard firmware (rather than the Australian specific one). ...based on an earlier patch by Hans-Frieder Vogt: http://www.linuxtv.org/pipermail/linux-dvb/2008-May/026280.html Signed-off-by: Robert Lowery <rlowery@exemail.com.au> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-28DVB_DRX397XD: remove FW_LOADER selectMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> Also for the new DVB_DRX397XD driver the FW_LOADER select and the corresponding dependency on HOTPLUG can be removed. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27au8522: add mechanism to configure IF frequency for vsb and qamMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Add a mechanism to configure IF frequency for vsb and qam. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-24dw2102: fix in-kernel compilationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-24backport commit 0a2a736afa91e8a0402c9dbdaf2ee28481a50bd3Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Author: David Woodhouse <dwmw2@infradead.org> Date: Thu May 29 19:50:06 2008 +0300 ttusb-budget: use request_firmware() This patch will keep using the enclosed .h firmware for out-of-kernel compilations. For in-kernel compilation, it will use the firmware on a .bin file that is linkedited together with dvb-ttusb-budget target. On both cases, the firmware will be inside dvb-ttusb-budget.ko module. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-24backport commit b9e40857682ecfc5bcd0356a23ff409883ffb982Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: David S. Miller <davem@davemloft.net> Date: Tue Jul 15 00:15:08 2008 -0700 netdev: Do not use TX lock to protect address lists. Now that we have a specific lock to protect the network device unicast and multicast lists, remove extraneous grabs of the TX lock in cases where the code only needs address list protection. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-24backport commit e282959ef3ebae0d72ac0b24242c376fa34da585Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: Greg Kroah-Hartman <gregkh@suse.de> Date: Wed May 21 12:52:33 2008 -0700 device create: dvb: convert device_create to device_create_drvdata device_create() is race-prone, so use the race-free device_create_drvdata() instead as device_create() is going away. kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-21sms1xxx: dvb/siano/: cleanupsMichael Krufky
From: Adrian Bunk <bunk@kernel.org> This patch contains the following cleanups: - mark smscore_module_init() as __init - mark smscore_module_exit as __exit - make the following needlessly global code static: - smscoreapi.c: struct g_smscore_notifyees - smscoreapi.c: struct g_smscore_devices - smscoreapi.c: struct g_smscore_deviceslock - smscoreapi.c: struct g_smscore_registry - smscoreapi.c: struct g_smscore_registrylock - smscoreapi.c: smscore_module_init() - smscoreapi.c: smscore_module_exit() - smsdvb.c: struct g_smsdvb_clients - smsdvb.c: struct g_smsdvb_clientslock Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-21replace __FUNCTION__ with __func__Mauro Carvalho Chehab
From: Alexander Beregalov <a.beregalov@gmail.com> v4l/drx397xD: replace __FUNCTION__ with __func__ Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-28merge: http://linuxtv.org/hg/~mkrufky/woodburyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27backport commit 8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Author: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Date: Fri Jul 25 19:44:49 2008 -0700 dma-mapping: add the device argument to dma_mapping_error() Add per-device dma_mapping_ops support for CONFIG_X86_64 as POWER architecture does: This enables us to cleanly fix the Calgary IOMMU issue that some devices are not behind the IOMMU (http://lkml.org/lkml/2008/5/8/423). I think that per-device dma_mapping_ops support would be also helpful for KVM people to support PCI passthrough but Andi thinks that this makes it difficult to support the PCI passthrough (see the above thread). So I CC'ed this to KVM camp. Comments are appreciated. A pointer to dma_mapping_ops to struct dev_archdata is added. If the pointer is non NULL, DMA operations in asm/dma-mapping.h use it. If it's NULL, the system-wide dma_ops pointer is used as before. If it's useful for KVM people, I plan to implement a mechanism to register a hook called when a new pci (or dma capable) device is created (it works with hot plugging). It enables IOMMUs to set up an appropriate dma_mapping_ops per device. The major obstacle is that dma_mapping_error doesn't take a pointer to the device unlike other DMA operations. So x86 can't have dma_mapping_ops per device. Note all the POWER IOMMUs use the same dma_mapping_error function so this is not a problem for POWER but x86 IOMMUs use different dma_mapping_error functions. The first patch adds the device argument to dma_mapping_error. The patch is trivial but large since it touches lots of drivers and dma-mapping.h in all the architecture. This patch: dma_mapping_error() doesn't take a pointer to the device unlike other DMA operations. So we can't have dma_mapping_ops per device. Note that POWER already has dma_mapping_ops per device but all the POWER IOMMUs use the same dma_mapping_error function. x86 IOMMUs use device argument. [akpm@linux-foundation.org: fix sge] [akpm@linux-foundation.org: fix svc_rdma] [akpm@linux-foundation.org: build fix] [akpm@linux-foundation.org: fix bnx2x] [akpm@linux-foundation.org: fix s2io] [akpm@linux-foundation.org: fix pasemi_mac] [akpm@linux-foundation.org: fix sdhci] [akpm@linux-foundation.org: build fix] [akpm@linux-foundation.org: fix sparc] [akpm@linux-foundation.org: fix ibmvscsi] Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27remove select's of FW_LOADERMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> After commit d9b19199e4894089456aaad295023263b5225c1a (always enable FW_LOADER unless EMBEDDED=y) we can remove the FW_LOADER select's and corresponding dependencies on HOTPLUG. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-20Fix macro name at z0194a.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As reported by Hans Verkuil: In file included from /home/v4l/master/v4l/dw2102.c:14: /home/v4l/master/v4l/z0194a.h:93: error: 'STV0229_LOCKOUTPUT_1' undeclared here (not in a function) This is due to some typos that were fixed on stv0299. This patch renames it in accord with that fix. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-20Adds support for Dvbworld DVB-S 2102 USB cardMauro Carvalho Chehab
From: Igor M Liplianin <liplianin@me.by> Signed-off-by: Igor M Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17backport commit 3a9282cacdb13466b9c745518237938434dbde0bMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: David Woodhouse <dwmw2@infradead.org> Date: Sat May 24 00:13:08 2008 +0100 gp8psk: treat firmware data as const Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17backport commit 5794e1b14bcd9817c5fa27d3254996f0d9551296Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: Jonathan Corbet <corbet@lwn.net> Date: Thu May 15 16:26:57 2008 -0600 dvb: cdev lock_kernel() pushdown kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17backport commit e62f89f2aebd57f48687f139c20cf6375693b622Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: David Woodhouse <dwmw2@infradead.org> cxusb: treat firmware data as const ...which means allocating our own copy when we want to modify it. (stupid thinko fixed by mkrufky) kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17backport commit bc179153ae2334efe28cf4f3300e024da7d83753Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Author: David Woodhouse <dwmw2@infradead.org> Date: Sat May 24 00:12:23 2008 +0100 dvb frontends: treat firmware data as const kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-17Sync with whitespaces on -gitMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-21usb/anysee.c: make struct anysee_usb_mutex staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@kernel.org> This patch makes the needlessly global struct anysee_usb_mutex static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-14sms1xxx: fix compat for kernel 2.6.23 and earlierMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-12sms1xxx: fix missing #include <linux/types.h>Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix the build error: smscoreapi.c:689: error: 'uintptr_t' undeclared Thanks to Peter Schlaf for reporting this. Cc: Peter Schlaf <peter.schlaf@web.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-11sms1xxx: fix improper usage of asm/foo.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Fix the following warnings generated by checkpatch.pl: WARNING: Use #include <linux/io.h> instead of <asm/io.h> 251: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:30: +#include <asm/io.h> WARNING: Use #include <linux/scatterlist.h> instead of <asm/scatterlist.h> 1566: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:29: +#include <asm/scatterlist.h> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-07-11merge: http://linuxtv.org/hg/~mkrufky/sms1xxxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This adds a new driver to the tree. Still needs a better review, since kmalloced vars are not properly initialized. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-04ttusb: use simple_read_from_buffer()()Mauro Carvalho Chehab
From: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>