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
07 Jan, 2012
1 commit
-
This resolves the conflict in the arch/arm/mach-s3c64xx/s3c6400.c file,
and it fixes the build error in the arch/x86/kernel/microcode_core.c
file, that the merge did not catch.The microcode_core.c patch was provided by Stephen Rothwell
who was invaluable in the merge issues involved
with the large sysdev removal process in the driver-core tree.Signed-off-by: Greg Kroah-Hartman
06 Jan, 2012
16 commits
-
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Somehow the code has ended up assuming 1400 packets/sec which of course
is wrong for usb1 devices like the ov511 cameras. usb1 only does 1000
(isoc) packets / sec.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Reported by: Grzegorz Woźniak
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
This got broken by some gscpa core fixes, this patch restores the proper
min/max values for these controls.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Written by Theodore Kilgore
With minor changes by Hans de Goede:
-Code style fixes
-Correct the verbose level on various PDEBUG messages
-Make error messages use pr_err instead of PDEBUG
-Document the jl20 pixel formatSigned-off-by: Theodore Kilgore
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
* tag 'v3.2': (83 commits)
Linux 3.2
minixfs: misplaced checks lead to dentry leak
ptrace: ensure JOBCTL_STOP_SIGMASK is not zero after detach
ptrace: partially fix the do_wait(WEXITED) vs EXIT_DEAD->EXIT_ZOMBIE race
Revert "rtc: Expire alarms after the time is set."
[CIFS] default ntlmv2 for cifs mount delayed to 3.3
cifs: fix bad buffer length check in coalesce_t2
Revert "rtc: Disable the alarm in the hardware"
hung_task: fix false positive during vfork
security: Fix security_old_inode_init_security() when CONFIG_SECURITY is not set
fix CAN MAINTAINERS SCM tree type
mwifiex: fix crash during simultaneous scan and connect
b43: fix regression in PIO case
ath9k: Fix kernel panic in AR2427 in AP mode
CAN MAINTAINERS update
net: fsl: fec: fix build for mx23-only kernel
sch_qfq: fix overflow in qfq_update_start()
drm/radeon/kms/atom: fix possible segfault in pm setup
gspca: Fix falling back to lower isoc alt settings
futex: Fix uninterruptible loop due to gate_area
... -
When using the SN9C20X_I420 fmt the sn9c20x needs more bandwidth
than our regular bandwidth calculations reserve.This patch adds a sd_isoc_init function, which forces the use of a specific
altsetting when using the SN9C20X_I420 fmt.This fixes the bottom 10-30% of the image getting corrupted when using
the SN9C20X_I420 fmt (which is the default fmt).Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Some cameras will pretty much entirely fill all the image buffers all the
time even though they are using compression.This patch adds a flag to sd_desc, which drivers for such cameras can set.
When this flag is set the bandwidth calculation code will no longer
assume that the image buffer size is a worst case and less bandwidth than
imagebufsize * fps will be used on average.This patch sets this new flag for 3 drivers:
* For spca561 (for rev12a cameras) and nw80x cams as these simply don't work
when given less bandwidth than imagebufsize * fps.
* For sn9c20x cameras, because these show severy jpeg artifacts when
given less bandwidth than imagebufsize * fps and since these are usb2
cameras there is plenty bandwidth anyways.Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Quoting from the official usb 20 spec:
"5.6.4 Isochronous Transfer Bus Access ConstraintsIsochronous transfers can only be used by full-speed and high-speed devices."
This means that for code paths which are isoc mode only, we don't need to
check for the device being low speed, simplifying the code.Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Check dev->actconfig rather than dev->config when checking various
configuration things. dev->config points to the array of configs for the
device so dev->config->foo boils down to dev->config[0].foo and the first
config is not necessarily always the active config.Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
In case we ever get sub drivers which do 7.5 fps and express this as
15 / 2 fps.Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
The calculated bandwidth should not be multiplied by the interval, but be
divided by it. Also bInterbval should be interpreted as a power of 2
for isochronous endpoints.Signed-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
After the "gspca: Fix bulk mode cameras no longer working (regression fix)"
patch build_ep_tb is no longer being called for bulk endpoints.This patch renames build_ep_tb to build_isoc_ep_tb to make clear it should
only be called for isoc mode cameras.This patch also:
- drops the no longer needed xfer parameter
- removes a check for bulk mode from the build_isoc_ep_tb codeSigned-off-by: Hans de Goede
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Having:
- a mean image size of 0.375 time the max compressed image size and
- a frame rate of 30 fps for small images or with USB 2.0/3.0
seems more realistic and gives less image freezes.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
This path add support to "OmniVision Technologies, Inc. VEHO Filmscanner".
Signed-off-by: Jose Alberto Reguero
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab
01 Jan, 2012
1 commit
-
The current gspca core code has a regression where it no longer properly
falls back to lower alt settings when there is not enough bandwidth.This causes many iso based usb-1 cameras to not work when plugged into a
usb2 hub or a sandybridge chipset motherboard!This patch fixes this.
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
Signed-off-by: Linus Torvalds
31 Dec, 2011
3 commits
-
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
The new iso bandwidth calculation code accidentally has broken support
for bulk mode cameras. This has broken the following drivers:
finepix, jeilinj, ovfx2, ov534, ov534_9, se401, sq905, sq905c, sq930x,
stv0680, vicam.Thix patch fixes this. Fix tested with: se401, sq905, sq905c, stv0680 &
vicam cams.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
30 Dec, 2011
1 commit
-
The new iso bandwidth calculation code accidentally has broken support
for bulk mode cameras. This has broken the following drivers:
finepix, jeilinj, ovfx2, ov534, ov534_9, se401, sq905, sq905c, sq930x,
stv0680, vicam.Thix patch fixes this. Fix tested with: se401, sq905, sq905c, stv0680 & vicam
cams.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
Signed-off-by: Linus Torvalds
11 Dec, 2011
6 commits
-
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
The topro webcams don't support 30fps in 640x480 mode.
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Adjustment of the colors by the po2030n is finer than by the bridge controls.
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
The 'open-drain' mode was not reset when starting the webcams.
This problem was introduced by commit 0e4d413af1a9d and
its exact effects are unknown.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
As the alternate settings are now sorted in gspca main,
the variable 'nbalt' is no more useful.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
The alternate settings are now sorted in gspca main, so the flag
'reverse_alts' is no more useful.Signed-off-by: Jean-François Moine
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
24 Sep, 2011
9 commits
-
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Tested with webcam "SilverCrest WC2130".
Signed-off-by: Frank Schaefer
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Wolfram Sang
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
As the choice of the alternate setting has been enhanced in the gspca main,
forcing its number here is no more useful.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
The JPEG quality was guessed as around 82%. Information in ms-win drivers
says it should be 85%.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Some webcams ask for a greater time to start.
This patch increases the delay before timeout error on capture start.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
This driver is based on Anders Blomdell's source proposed in april 2009.
It has been extended to handle the tp6810 bridge and the soi763a sensor.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab