16 Jan, 2012
1 commit
-
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (655 commits)
[media] revert patch: HDIC HD29L2 DMB-TH USB2.0 reference design driver
mb86a20s: Add a few more register settings at the init seq
mb86a20s: Group registers into the same line
[media] [PATCH] don't reset the delivery system on DTV_CLEAR
[media] [BUG] it913x-fe fix typo error making SNR levels unstable
[media] cx23885: Query the CX25840 during enum_input for status
[media] cx25840: Add support for g_input_status
[media] rc-videomate-m1f.c Rename to match remote controler name
[media] drivers: media: au0828: Fix dependency for VIDEO_AU0828
[media] convert drivers/media/* to use module_platform_driver()
[media] drivers: video: cx231xx: Fix dependency for VIDEO_CX231XX_DVB
[media] Exynos4 JPEG codec v4l2 driver
[media] doc: v4l: selection: choose pixels as units for selection rectangles
[media] v4l: s5p-tv: mixer: fix setup of VP scaling
[media] v4l: s5p-tv: mixer: add support for selection API
[media] v4l: emulate old crop API using extended crop/compose API
[media] doc: v4l: add documentation for selection API
[media] doc: v4l: add binary images for selection API
[media] v4l: add support for selection api
[media] hd29l2: fix review findings
...
13 Jan, 2012
1 commit
-
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.Acked-by: Mauro Carvalho Chehab
Signed-off-by: Rusty Russell
05 Jan, 2012
2 commits
-
Signed-off-by: Matthieu CASTET
Signed-off-by: Mauro Carvalho Chehab -
- enable fast usb quirk
- use usleep_range instead on msleep for short sleep
- merge i2c out and usb delay
- do like the windows driver that upload the tuner firmware
with 80 bytes packetsSigned-off-by: Matthieu CASTET
CC: Thierry Reding
Signed-off-by: Mauro Carvalho Chehab
31 Dec, 2011
1 commit
-
dprintk() dereferences "ir". I'm not sure why gcc doesn't complain
about this.Signed-off-by: Dan Carpenter
Signed-off-by: Mauro Carvalho Chehab
11 Dec, 2011
4 commits
-
drivers/media/video/tm6000/tm6000-input.c: In function ‘tm6000_ir_int_start’:
drivers/media/video/tm6000/tm6000-input.c:381:3: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type]Signed-off-by: Mauro Carvalho Chehab
-
Checking for &dev->int_in is useless because it returns the address of
the embedded struct tm6000_endpoint, which will always be positive and
therefore true.Signed-off-by: Thierry Reding
Signed-off-by: Mauro Carvalho Chehab -
Function parameters on subsequent lines should never be aligned with the
function name but rather be indented.Signed-off-by: Thierry Reding
Signed-off-by: Mauro Carvalho Chehab -
The original patch used the fast USB quirk to enable fast access to
registers in the tm6000_read_write_usb(). The applied patch moved the
check to the tm6000_reset(), probably due to some merge conflicts.Signed-off-by: Thierry Reding
Signed-off-by: Mauro Carvalho Chehab
01 Dec, 2011
7 commits
-
[ 3755.608233] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[ 3755.616360] IP: [] tm6000_ir_int_stop+0x10/0x1b [tm6000]Signed-off-by: Mauro Carvalho Chehab
-
All devices should support alsa module. Devices with DVB will
auto-load the dvb module. This way, tm6000-based devices should
now have hot plugin.Signed-off-by: Mauro Carvalho Chehab
-
This should allow using 24 or 32 bits NEC IR decoding tables with
those devices.Signed-off-by: Mauro Carvalho Chehab
-
Now that the tm6000 driver is on a good shape, we can enable
device autodetection, based on the USB ID.Signed-off-by: Mauro Carvalho Chehab
-
The IR support were broken on my tests with HVR-900H. Also,
there were several issues on the current implementation.
This patch is a major rewrite of the IR support for this
- Improve debug messages;
- Don't do polling for interrrupt based IR;
- Add proper support for RC-5 protocol;
- Always provide 16 bits for NEC and RC-5;
- Fix polling code;
- Split polling functions from URB Interrupt ones;
- Don't hardcode the XTAL reference for tm6000 IR;
- If a URB submit fails, retries after 100ms;
- etc.Tested on Hauppauge HVR-900H, with RC-5 and NEC remotes.
Issues on IR handling, on this device:
- Repeat events aren't detected (neither on NEC or RC-5);
- NEC codes are always provided with 16 bits.Signed-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
-
IR registers 0xd9 to 0xdf were badly named, making harder to
check what's the register accessed at the RC code. Fix the
name convention.No functional changes on this patch.
Signed-off-by: Mauro Carvalho Chehab
29 Nov, 2011
8 commits
-
drivers/media/video/tm6000/tm6000-video.c: In function ‘tm6000_release’:
drivers/media/video/tm6000/tm6000-video.c:1608:7: warning: unused variable ‘err’ [-Wunused-variable]Signed-off-by: Mauro Carvalho Chehab
-
beholder use a map with 3 bytes, but many rc maps have 2 bytes, so I add a workaround for beholder rc.
Signed-off-by: Stefan Ringel
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Stefan Ringel
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Stefan Ringel
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Stefan Ringel
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Stefan Ringel
Signed-off-by: Mauro Carvalho Chehab -
A V4L2 standards mask may contain several standards. A more restricted
mask with just one standard is used when user needs to bind to an specific
standard that can't be auto-detect among a more generic mask.So, Improve the autodetection logic to detect the correct audio standard
most of the time.Based on a patch made by Dmitri Belimov .
Signed-off-by: Mauro Carvalho Chehab
-
There are some properties found on em28xx, but not on tm6000. Add
them, in order to be more consistent.Signed-off-by: Mauro Carvalho Chehab
19 Nov, 2011
1 commit
-
This converts the drivers in drivers/media/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.Cc: Mauro Carvalho Chehab
Cc: Luca Risolia
Cc: Jean-Francois Moine
Cc: Frank Zago
Cc: Olivier Lorin
Cc: Erik Andren
Cc: Hans de Goede
Cc: Brian Johnson
Cc: Leandro Costantino
Cc: Antoine Jacquet
Cc: Jarod Wilson
Cc: Florian Mickler
Cc: Antti Palosaari
Cc: Michael Krufky
Cc: "David Härdeman"
Cc: Florent Audebert
Cc: Sam Doshi
Cc: Manu Abraham
Cc: Olivier Grenie
Cc: Patrick Boettcher
Cc: "Igor M. Liplianin"
Cc: Derek Kelly
Cc: Malcolm Priestley
Cc: Steven Toth
Cc: "André Weidemann"
Cc: Martin Wilks
Cc: Tejun Heo
Cc: Jose Alberto Reguero
Cc: David Henningsson
Cc: Paul Gortmaker
Cc: Joe Perches
Cc: Jesper Juhl
Cc: Lucas De Marchi
Cc: Hans Verkuil
Cc: Alexey Khoroshilov
Cc: Anssi Hannula
Cc: Rafi Rubin
Cc: Dan Carpenter
Cc: Paul Bender
Cc: Devin Heitmueller
Cc: "Márcio A Alves"
Cc: Julia Lawall
Cc: Laurent Pinchart
Cc: Chris Rankin
Cc: Lee Jones
Cc: Andy Walls
Cc: Andrew Morton
Cc: Mike Frysinger
Cc: Dean Anderson
Cc: Pete Eberlein
Cc: Arvydas Sidorenko
Cc: Andrea Anacleto
Signed-off-by: Greg Kroah-Hartman
23 Sep, 2011
1 commit
-
The serious bugs got fixed already.
Signed-off-by: Mauro Carvalho Chehab