- 17 Apr, 2013 16 commits
-
-
Mauro Carvalho Chehab authored
If signal is zero, shows it as a zero, not as 0xff. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
This is part of the original driver, and adding it doesn't hurt, so add it, to better sync the code. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
As the driver's logic uses the bit-reversed order for read, use it as well when displaying the debug messages. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
The Realtek Kernel driver uses the second DVB-T 7MHz table instead of the first one. Use it as well. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
On read, the bit order is inverted. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
DVBT_EN_BBIN should be set on both places where IF is set. So, move it to a function and call it where needed. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
IF is set at r820t_set_tv_standard(). So, we can't calculate LO frequency before calling it. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
There are some init stuff to be done for each new tuner at the demod code. Add the code there for r820t. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
Scale used at get_if_freq and LO freq calculus is Hz. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
[ 2255.342797] r820t 3-001a: generic_set_freq: PLL locked on frequency 725476191 Hz, gain=45 Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
As this tuner can be used by analog and digital parts of the driver, be sure that all ops that access the hardware will be be properly locked. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
Now that we can get the strength from r820t, use it. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
This tuner works with 2 modes: automatic gain mode and manual gain mode. Put it into automatic mode, as we currently don't have any API for manual gain adjustment. The logic to allow setting the manual mode is there, as it is just a few extra code. This way, if/when we latter add support for setting the gain mode, the code is already there. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
Instead of a binary signal strength measure, use the tuner gain to obtain a better estimation of the signal strength. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
This tuner is used on some rtl2882 dongles. Add it to the driver. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
Mauro Carvalho Chehab authored
This driver was written from scratch, based on an existing driver that it is part of rtl-sdr git tree, released under GPLv2: https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug https://github.com/n1gp/gr-baz http://cgit.osmocom.org/rtl-sdr/plain/src/tuner_r820t.c (there are also other variants of it out there) >From what I understood from the threads, the original driver was converted to userspace from a Realtek tree. I couldn't find the original tree. However, the original driver look awkward on my eyes. So, I decided to write a new version from it from the scratch, while trying to reproduce everything found there. TODO: - After locking, the original driver seems to have some routines to improve reception. This was not implemented here yet. - RF Gain set/get is not implemented. Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com> Tested-by:
Antti Palosaari <crope@iki.fi>
-
- 16 Apr, 2013 6 commits
-
-
Mauro Carvalho Chehab authored
From Fengguang Wu <fengguang.wu@intel.com>: > drivers/media/pci/sta2x11/sta2x11_vip.c: In function 'sta2x11_vip_init_one': > drivers/media/pci/sta2x11/sta2x11_vip.c:1314:2: error: implicit declaration of function 'i2c_get_adapter' [-Werror=implicit-function-declaration] > drivers/media/pci/sta2x11/sta2x11_vip.c:1314:15: warning: assignment makes pointer from integer without a cast [enabled by default] > drivers/media/pci/sta2x11/sta2x11_vip.c:1330:2: error: implicit declaration of function 'i2c_put_adapter' [-Werror=implicit-function-declaration] And also: > warning: (STA2X11_VIP) selects VIDEO_ADV7180 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_V4L2 && I2C) > drivers/media/i2c/adv7180.c: In function '__adv7180_status': > drivers/media/i2c/adv7180.c:194:2: error: implicit declaration of function 'i2c_smbus_read_byte_data' [-Werror=implicit-function-declaration] > drivers/media/i2c/adv7180.c: In function 'adv7180_s_routing': > drivers/media/i2c/adv7180.c:251:2: error: implicit declaration of function 'i2c_smbus_write_byte_data' [-Werror=implicit-function-declaration] > drivers/media/i2c/adv7180.c: In function 'adv7180_probe': > drivers/media/i2c/adv7180.c:551:2: error: implicit declaration of function 'i2c_check_functionality' [-Werror=implicit-function-declaration] > drivers/media/i2c/adv7180.c:554:2: error: implicit declaration of function 'i2c_adapter_id' [-Werror=implicit-function-declaration] > drivers/media/i2c/adv7180.c: At top level: > drivers/media/i2c/adv7180.c:663:1: warning: data definition has no type or storage class [enabled by default] > drivers/media/i2c/adv7180.c:663:1: warning: type defaults to 'int' in declaration of 'module_i2c_driver' [-Wimplicit-int] > drivers/media/i2c/adv7180.c:663:1: warning: parameter names (without types) in function declaration [enabled by default] > drivers/media/i2c/adv7180.c:649:26: warning: 'adv7180_driver' defined but not used [-Wunused-variable] This is due to the lack of I2C support: ... > CONFIG_I2C is not set ... So, Make sure that sta2x11_vip depends on I2C. Reported-by:
Fengguang Wu <fengguang.wu@intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Mauro Carvalho Chehab authored
There are three drivers with *it913x name on it, and they all belong to the same device: a tuner, at it913x.c; a frontend: it913x-fe.c; a bridge: it913x.c, renamed to dvb_usb_it913x by the building system. This is confusing. Even more confusing are the two .c files with the same name under different directories, with different contents and different functions. So, prepend the tuner one. This also breaks the out-of-tree compilation system. Reported-by:
Frederic Fays <frederic.fays@gmail.com> Acked-by:
Antti Palosaari <crope@iki.fi> Reviewed-by:
Antti Palosaari <crope@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
William Steidtmann authored
Fix mceusb_cmdsize() which returns incorrect datasize=0 for sub-commands MCE_RSP_GETPORTSTATUS, MCE_RSP_GETWAKESOURCE, MCE_RSP_EQDEVDETAILS, MCE_RSP_EQEMVER, and MCE_RSP_EQIRNUMPORTS. While here, change mceusb_cmdsize() name to reflect that it returns data size not cmd size. Signed-off-by:
William Steidtmann <billstei@hbci.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
David Howells authored
Don't print proc_dir_entry data in debug as we're soon to have no direct access to the contents of the PDE. Print what was put in there instead. Signed-off-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Randy Dunlap authored
VIDEO_GO7007 uses usb interfaces so it should depend on USB. It also selects CYPRESS_FIRMWARE, which depends on USB. Fixes build errors and a kconfig warning: go7007-loader.c:(.text+0xcc7d0): undefined reference to `usb_get_dev' go7007-loader.c:(.init.text+0x49f0): undefined reference to `usb_register_driver' go7007-loader.c:(.exit.text+0x17ce): undefined reference to `usb_deregister' warning: (DVB_USB_AZ6007 && VIDEO_GO7007) selects CYPRESS_FIRMWARE which has unmet direct dependencies (MEDIA_SUPPORT && USB) Signed-off-by:
Randy Dunlap <rdunlap@infradead.org> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Michal Marek authored
Commit cd634f1b ("[media] v4l2: put VIDIOC_DBG_G_CHIP_NAME under ADV_DEBUG") missed the initializer of radio_ioctl_ops: drivers/media/usb/em28xx/em28xx-video.c:1830:2: error: unknown field 'vidioc_g_chip_info' specified in initializer drivers/media/usb/em28xx/em28xx-video.c:1830:26: error: 'vidioc_g_chip_info' undeclared here (not in a function) Signed-off-by:
Michal Marek <mmarek@suse.cz> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
- 15 Apr, 2013 12 commits
-
-
Mauro Carvalho Chehab authored
drivers/media/dvb-frontends/cxd2820r_t2.c: In function 'cxd2820r_set_frontend_t2': drivers/media/dvb-frontends/cxd2820r_t2.c:128:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Lad, Prabhakar authored
As of now TI has no maintainer/supporter for davinci media drivers, Until it has any I'll be maintaining it. Signed-off-by:
Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Antti Palosaari authored
Signed-off-by:
Antti Palosaari <crope@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Antti Palosaari authored
Map RC_MAP_REDDO to that device. Signed-off-by:
Antti Palosaari <crope@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Antti Palosaari authored
It is very similar than rc-msi-digivox-iii but new keytable is needed as there is one existing scancode mapped to different button. Also that one has less buttons. NEC extended protocol with address 0x61d6. Signed-off-by:
Antti Palosaari <crope@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Seung-Woo Kim authored
The length of mmap() can be bigger than length of vb2 buffer, so it should be checked. Signed-off-by:
Seung-Woo Kim <sw0312.kim@samsung.com> Acked-by:
Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Antti Palosaari authored
Driver author has disappeared, even mails are bouncing back. I will keep care with that as I have done for a while. Signed-off-by:
Antti Palosaari <crope@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Antti Palosaari authored
I have the hardware and I have already made almost all changes what are needed during the recent few years, so lets mark it as maintained. Signed-off-by:
Antti Palosaari <crope@iki.fi> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Wei Yongjun authored
Since rc_unregister_device() frees its argument, the subsequently call to rc_free_device() on the same variable will cause a double free bug. Fix by set argument to NULL, thus when fall through to rc_free_device(), nothing will be done there. Signed-off-by:
Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Wei Yongjun authored
Since rc_unregister_device() frees its argument, the subsequently call to rc_free_device() on the same variable will cause a double free bug. Fix by set argument to NULL, thus when fall through to rc_free_device(), nothing will be done there. Signed-off-by:
Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Wei Yongjun authored
Since rc_unregister_device() frees its argument, the subsequently call to rc_free_device() on the same variable will cause a double free bug. Fix by set argument to NULL, thus when fall through to rc_free_device(), nothing will be done there. Signed-off-by:
Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Wei Yongjun authored
Since rc_unregister_device() frees its argument, the subsequently call to rc_free_device() on the same variable will cause a double free bug. Fix by set argument to NULL, thus when fall through to rc_free_device(), nothing will be done there. Signed-off-by:
Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
- 14 Apr, 2013 6 commits
-
-
Laurent Pinchart authored
The driver isn't actively maintained anymore, update its status. Signed-off-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Guennadi Liakhovetski authored
The default format conversion table mbus_fmt[] in soc_mediabus.c lists "natural" conversions between media-bus and fourcc pixel formats, that are achieved by storing data from the bus in RAM exactly as it arrives, only possibly padding missing high or low bits. Such data acquisition mode cannot change data endianness, therefore two locations with opposite endianness are erroneous. This change might affest the omap1-camera driver, existing configurations should be verified. Signed-off-by:
Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Lad, Prabhakar authored
This patch replaces V4L2_STD_525_60/625_50 with V4L2_STD_NTSC/PAL respectively as this are the proper video standards. Signed-off-by:
Lad, Prabhakar <prabhakar.csengg@gmail.com> Reported-by:
Hans Verkuil <hans.verkuil@cisco.com> Acked-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Lad, Prabhakar authored
add support for V4L2 video display to DM355 EVM. Support for SD modes is provided, along with Composite output Signed-off-by:
Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Lad, Prabhakar authored
Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by:
Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-
Lad, Prabhakar authored
add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by:
Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@redhat.com>
-