aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-21[media] drivers:media:radio: Update Kconfig and Makefile for wl128x FM driverManjunatha Halli2-0/+4
Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] drivers:media:radio: wl128x: Kconfig & Makefile for wl128x driverManjunatha Halli2-0/+23
Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] drivers:media:radio: wl128x: FM driver TX sourcesManjunatha Halli2-0/+462
This has implementation for FM TX functionality. It communicates with FM V4l2 module and FM common module. Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] drivers:media:radio: wl128x: FM driver RX sourcesManjunatha Halli2-0/+906
This has implementation for FM RX functionality. It communicates with FM V4l2 module and FM common module Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] drivers:media:radio: wl128x: FM Driver Common sourcesManjunatha Halli2-0/+2079
These are the sources for the common interfaces required by the FM V4L2 driver for TI WL127x and WL128x chips. These implement the FM channel-8 protocol communication with the chip. This makes use of the Shared Transport as its transport. Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] drivers:media:radio: wl128x: FM Driver V4L2 sourcesManjunatha Halli2-0/+613
This module interfaces V4L2 subsystem and FM common module. It registers itself with V4L2 as Radio module. Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] drivers:media:radio: wl128x: FM Driver common header fileManjunatha Halli1-0/+244
These are common headers used in FM submodules (FM V4L2, FM common, FM Rx,and FM TX). Signed-off-by: Manjunatha Halli <[email protected]> Reviewed-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ivtv: yuv: handle get_user_pages() -errno returnsPaul Cassella1-12/+40
get_user_pages() may return -errno, such as -EFAULT. So don't blindly use its return value as an offset into dma->map[] for the next get_user_pages() call. Since we'll give up and return an error if either fails, don't even make the second call if the first failed to give us exactly what we were looking for. The old code would also call put_page() on as many elements of dma->map[] as we'd asked for, regardless of how many were valid. [Andy Walls modified this patch to return -EFAULT instead of -EINVAL as Paul's observation "I'm not sure -EINVAL is the best return code vs -EFAULT or -ENOMEM, [...]" was correct. The return value bubbles up as a return code for write(), for which the V4L2 API spec indicates EINVAL is incorrect and EFAULT is correct.] Signed-off-by: Paul Cassella <[email protected]> Signed-off-by: Andy Walls <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ivtv: Fix sparse warning regarding a user pointer in ↵Andy Walls1-1/+1
ivtv_write_vbi_from_user() Fix the first, botched attempt at preventing direct use of a user pointer in ivtv_write_vbi(). Reported-by: Dr. David Alan Gilbert <[email protected]> Signed-off-by: Andy Walls <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ivtv: udma: handle get_user_pages() returning fewer pages than we ↵Paul Cassella1-1/+6
asked for get_user_pages() may return fewer page than we ask for. As we give up and return an error in this case, we need to put_page() each of the pages we did get. [Andy Walls modified the patch, only removing the braces in the 'for' statement, to eliminate a checkpatch warning.] Signed-off-by: Paul Cassella <[email protected]> Signed-off-by: Andy Walls <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] Documentation: README.ivtv: Remove note that ivtvfb is not yet in ↵Paul Cassella1-2/+1
the kernel ivtvfb is now in the kernel, so stop saying it's not. Signed-off-by: Paul Cassella <[email protected]> Signed-off-by: Andy Walls <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] cx88: add support for TeVii S464 PCI cardIgor M. Liplianin6-0/+46
The card uses ds3000 demod from Montage. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: hardware tune algorithmIgor M. Liplianin1-6/+12
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: add carrier offset calculationIgor M. Liplianin1-2/+28
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: remove unnecessary dnxt, dcur structuresIgor M. Liplianin1-95/+13
All necessary parameters already stored in frontend cache. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: clean up in tune procedureIgor M. Liplianin1-259/+213
Variable 'retune' does not make sense. Loop is not needed for only one try. Remove unnecessary dprintk's. Remove a lot of debug messages and delays. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: Copyright, cards list updatedIgor M. Liplianin1-11/+11
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: add support for the TeVii S480 PCIeIgor M. Liplianin1-2/+27
The card consists of a PCI-e to USB Host Controller and two TeVii S660 equivalent cards. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: fix TeVii s660 remote controlIgor M. Liplianin1-3/+7
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: corrections for TeVii s660 LNB power controlIgor M. Liplianin1-6/+28
There are two TeVii s660 modifications with different LNB power control implementations. It is safe to call both methods for each card. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: unnecessary NULL's removedIgor M. Liplianin1-7/+0
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: Prof 1100 initialization fixIgor M. Liplianin1-5/+0
RC keys structure for Prof 1100 already defined, so remove extra initialization. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: Prof 7500 remote fixIgor M. Liplianin1-0/+5
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: Prof 7500: Lock LED implementedIgor M. Liplianin3-1/+53
Code changed for dw2102, stv0900 in order to achieve that. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: Add Terratec Cinergy S2 USB HDIgor M. Liplianin1-1/+6
MarkusF wrote: I accidently got a Terratec Cinergy S2 USB HD (instead of a Terratec Cinergy S2 PCI HD). I found in the windows driver, that the driver is for the usb ids: 0CCD:00A8 1F4D:3000 The dvb-s2 usb adapter has the id 0CCD-00A8. So I patches your driver and added the usb id, where the 1F4D:3000 is and it worked (after I downloaded the firmware dvb-fe-ds3000.fw). w_scan found the channels and vdr is working fine. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: add support for Geniatech SU3000 USB DVB-S2 cardIgor M. Liplianin3-3/+325
The card uses ds3000 demod from Montage. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: use separate firmwares for Prof 1100, TeVii S630, S660Igor M. Liplianin1-14/+58
Before this patch we can use only one card type from list due to sharing one firmware name. Now it's fixed. Also driver tries to attach only appropriate demod for this cards. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dw2102: Extend keymap parameter for not used remoteIgor M. Liplianin1-2/+4
Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] TTUSB DVB: ttusb_boot_dsp() needs to release_firmware() or it leaks ↵Jesper Juhl1-0/+1
memory In drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c:ttusb_boot_dsp() we need to call release_firmware(fw) before returning or we'll leak - no matter if we succeed or fail. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] pvrusb2: Use sysfs_attr_init() where appropriateMike Isely1-0/+9
Signed-off-by: Mike Isely <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] pvrusb2: Minor VBI tweak to help potential CC supportMike Isely1-0/+2
pvrusb2: Declare closed-caption setup for line 21 - this is needed for sliced VBI capture support. (However none of that works right now anyway.) Signed-off-by: Mike Isely <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] pvrusb2: width and height maximum valuesServaas Vandenberghe1-12/+16
pvrusb2: The origin of the capability bounds rectangle may differ from (left=0,top=0) so the calculation should use absolute coordinates, here below, or use relative coordinates like cropl_val-cap->bounds.left and cropt_val-cap->bounds.top. Signed-off-by: Mike Isely <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] pvrusb2: Fix a few missing default control values, for croppingMike Isely1-0/+2
Signed-off-by: Mike Isely <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] pvrusb2: Minor cosmetic code tweakMike Isely1-2/+1
Signed-off-by: Mike Isely <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] pvrusb2: Handle change of mode before handling change of video standardMike Isely1-12/+13
pvrusb2: Recognize and handle mode change before dealing with changes related to the video standard. Even though the video standard should only matter when in analog mode, doing this way is technically cleaner in case there's other stuff that might depend on both. Signed-off-by: Mike Isely <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] dvb_pll: DVB-S incorrect tune settings for dw2102/dm1105/cx88/opera1Malcolm Priestley1-11/+68
This tuner PLL has missing initialisation settings resulting in haphazard tuning. The PLL LPF was set to just 22000 symbol rate. Basically, the module is a Sharp BS2F7HZ0194 (STV0299+IX2410) I have had problems implementing the PLL in a new driver and did not want to break the IX2410 out of the PLL. This applies to DW2102, DM1105, CX88 and OPERA1 drivers. Signed-off-by: Malcolm Priestley <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] firedtv: drop obsolete backend abstractionStefan Richter5-190/+140
Since the drivers/ieee1394/ backend was removed from firedtv, its I/O no longer needs to be abstracted as exchangeable backend methods. Also, ieee1394 variants of module and device probe and removal are no longer there. Move module probe and removal into firedtv-fw.c where device probe and removal are implemented. Signed-off-by: Stefan Richter <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] video: sn9c102: world-wirtable sysfs filesVasiliy Kulikov1-3/+3
Don't allow everybody to change video settings. Signed-off-by: Vasiliy Kulikov <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Luca Risolia <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] tm6000: add radio support to the driverDmitri Belimov6-101/+566
Changes: Add function tm6000_set_reg_mask for change some bits in regs. Very usefull, simplify some code with this function. Add control mute Add control volume Add control audio input MUX Add support radio Radio works well. TV works too Known bugs: The programm gnomeradio can't set freq for radio, it use old v4l API. Audio over USB works via arecord. The programm mplayer can set freq but no any audio mplayer -v -rawaudio rate=48000 radio://105.2/capture driver=v4l2:alsa:adevice=hw.1,0:amode=1:audiorate=48000:forceaudio:immediatemode=0 When start watch TV very shortly after radio the kernel crashed hardly. Didn't stop all USB URBs, need some time for stop. [[email protected]: fix merge conflicts] Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] tm6000: Add support for Terratec Grabster AV 150/250 MXHolger Nelson1-1/+8
This patch adds support for Terratec Grabster AV 150/250 MX. For now it is only possible to use composite input as switching inputs does not work. [[email protected]: Fix merge conflicts and simplify board entries] Signed-off-by: Holger Nelson <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] tm6000: add new TV cards of BeholderDmitri Belimov1-0/+46
Add two new TV cards of Beholder. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: don't load firmware during demod initIgor M. Liplianin1-8/+6
Speed up tuning, as firmware is not necessary to load every attempt to tune Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: loading firmware in bigger chunksIgor M. Liplianin1-4/+4
Decrease firmware loading time. Before it is ~4000 i2c calls, now it is ~256 i2c calls to load ds3000 firmware. Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: decrease mpeg clock outputIgor M. Liplianin1-1/+1
TeVii s480 works fine with that on DVB-S2 channels Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] ds3000: fill in demod init functionIgor M. Liplianin1-4/+12
Make some initializations in init, not in tune function Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] Add proper audio support for Nova-S Plus with wm8775 ADCLawrence Rust7-62/+267
This patch adds audio DMA capture and ALSA mixer elements for the line input jack of the Hauppauge Nova-S-plus DVB-S PCI card. The Nova-S-plus has a WM8775 ADC that is currently not detected. This patch enables this chip and exports volume, balance mute and ALC elements for ALSA mixer controls. [[email protected]: Changed the patch to only talk with wm8775 if board info says so. Also, added platform_data support, to avoid changing the behaviour for other boards, and fixed CodingStyle] [[email protected]: Changed patch to make the WM8775_GID defintion bridge driver private and let the bridge driver set the value of v4l2_subdev.grp_id.] -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Andy Walls <[email protected]>
2011-03-21[media] xc5000: add set_config and otherDmitri Belimov2-2/+37
Add one more radio input, usefull for tm6010 Add control output amplitude. Add set_config function for configure tuner when TV card hasn't dvb part. Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] omap24xxcam: Fix compilationThomas Weber1-0/+1
Add linux/sched.h because of missing declaration of TASK_NORMAL. This patch fixes the following error: drivers/media/video/omap24xxcam.c: In function 'omap24xxcam_vbq_complete': drivers/media/video/omap24xxcam.c:415: error: 'TASK_NORMAL' undeclared (first use in this function) drivers/media/video/omap24xxcam.c:415: error: (Each undeclared identifier is reported only once drivers/media/video/omap24xxcam.c:415: error: for each function it appears in.) Signed-off-by: Thomas Weber <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] video/saa7164: Fix sparse warning: Using plain integer as NULL pointerPeter Huewe9-37/+37
This patch fixes the warning "Using plain integer as NULL pointer", generated by sparse, by replacing if (var == 0) with if (!var) after an allocation and all other offending 0s with NULL. KernelVersion: linus' tree-1f0324c Signed-off-by: Peter Huewe <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2011-03-21[media] cx18: fix kernel oops when setting MPEG control before capturingHans Verkuil1-0/+1
The cxhdl->priv field was not set initially, only after capturing started. Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Andy Walls <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>