13 Jan, 2012
1 commit
-
module_param_array(), unlike its non-array cousins, didn't check the type
of the variable. Fixing this found two bugs.Cc: Luca Risolia
Cc: Mauro Carvalho Chehab
Cc: Eric Piel
Cc: linux-media@vger.kernel.org
Signed-off-by: Rusty Russell
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
28 Jul, 2011
2 commits
-
Those drivers are not relying at the V4L2 core to handle the ioctl's.
So, we need to manually patch them every time a change goes to the
core.Acked-by: Hans Verkuil
Acked-By: Mike Isely
Signed-off-by: Mauro Carvalho Chehab -
sn9c102 doesn't use vidioc_ioctl2. As the API is changing to use
a common version for all drivers, we need to expliticly fix this
driver.Acked-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
22 Mar, 2011
1 commit
-
Don't allow everybody to change video settings.
Signed-off-by: Vasiliy Kulikov
Acked-by: Mauro Carvalho Chehab
Acked-by: Luca Risolia
Signed-off-by: Mauro Carvalho Chehab
19 Jan, 2011
4 commits
-
Looking at the windows inf file, for usb ids with a sensor type where probing
is needed to determine the type (for example ov7630 or soi768), this is
needed for all bridge variants with a usb id indicating this sensor type.So do the probing to determine the actual sensor type for types where the
usb-id info is not 100% deterministic, independent of the bridge type.If you look through the list of currently active usb ids in sonixj, this
effectively only changes the code path for 0c45:60fe (sn9c105 + ov7630) and
0c45:612e (sn9c110 + ov7630), which according to the inf file can have a
soi768 instead of a ov7630 just like the sn9c120 + ov7630 models where we
already probe for a soi7630.The main reason for this code change is to keep the code paths as bridge
variant independent as possible, so that we don't need a lot of special
per bridge cases, as we enable more usb-ids in the future.This change makes the 0c45:60fe code path identical to the successfully
tested 0c45:613e, so also make sonixj the default driver for 0c45:60fe.Signed-off-by: Hans de Goede
Acked-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Both we and the windows driver make no sensor specific differences
(with some exceptions) for different sonixj bridge types. Thus if a
sn9c105 bridge has been successfully tested with a sensor, the same
sensor can be successfully used with a sn9c120 bridge too.Using this knowledge we can move over most usb-ids too the sonixj
driver when both are compiled.Signed-off-by: Hans de Goede
Acked-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Now that our bridge code is unified for sn9c101/102 and sn9c103 models,
the sn9c103 models should simply work, given that the only difference
in the sn9c103 is audio support and a gamma correction table.Signed-off-by: Hans de Goede
Acked-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
The sn9c102 driver claims a number of usb-ids which are for cameras
with sensor types which it does not support. Also it claims a number
of usb-ids which do not exist at all (not present in the windows
drivers .inf files, not known by google).This patch also fixes the conflict with the gspca_sonixj driver for the
0c45:60c0 and 0c45:60fb usb ids.Signed-off-by: Hans de Goede
Acked-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab
14 Jan, 2011
1 commit
-
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
Documentation/trace/events.txt: Remove obsolete sched_signal_send.
writeback: fix global_dirty_limits comment runtime -> real-time
ppc: fix comment typo singal -> signal
drivers: fix comment typo diable -> disable.
m68k: fix comment typo diable -> disable.
wireless: comment typo fix diable -> disable.
media: comment typo fix diable -> disable.
remove doc for obsolete dynamic-printk kernel-parameter
remove extraneous 'is' from Documentation/iostats.txt
Fix spelling milisec -> ms in snd_ps3 module parameter description
Fix spelling mistakes in comments
Revert conflicting V4L changes
i7core_edac: fix typos in comments
mm/rmap.c: fix comment
sound, ca0106: Fix assignment to 'channel'.
hrtimer: fix a typo in comment
init/Kconfig: fix typo
anon_inodes: fix wrong function name in comment
fix comment typos concerning "consistent"
poll: fix a typo in comment
...Fix up trivial conflicts in:
- drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
- fs/ext4/ext4.hAlso fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.
30 Dec, 2010
1 commit
-
The v4l core sets the v4l2_input.capabilities field based on the supplied
v4l2_ioctl_ops. However, several drivers do a memset or memcpy of the v4l2_input
struct, thus overwriting that field incorrectly.Either remove the memset (which is already done by the v4l core), or add the
proper capabilities field in case of a memcpy.The same is also true for v4l2_output, but that only affected the ivtv driver.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
29 Dec, 2010
2 commits
-
Add support for cameras with the HV7131D sensor, such as the 0c45:602a
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
I've a 0c45:6007 camera and it works fine with the gspca_sonixb driver,
so make that handle it instead of the deprecated sn9c102 driver.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
23 Dec, 2010
1 commit
-
Conflicts:
MAINTAINERS
arch/arm/mach-omap2/pm24xx.c
drivers/scsi/bfa/bfa_fcpim.cNeeded to update to apply fixes for which the old branch was too
outdated.
02 Dec, 2010
1 commit
-
Trivial conversion, this driver used a mutex already.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
02 Nov, 2010
1 commit
-
"gadget", "through", "command", "maintain", "maintain", "controller", "address",
"between", "initiali[zs]e", "instead", "function", "select", "already",
"equal", "access", "management", "hierarchy", "registration", "interest",
"relative", "memory", "offset", "already",Signed-off-by: Uwe Kleine-König
Signed-off-by: Jiri Kosina
29 Oct, 2010
1 commit
-
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (505 commits)
[media] af9015: Fix max I2C message size when used with tda18271
[media] IR: initialize ir_raw_event in few more drivers
[media] Guard a divide in v4l1 compat layer
[media] imon: fix nomouse modprobe option
[media] imon: remove redundant change_protocol call
[media] imon: fix my egregious brown paper bag w/rdev/idev split
[media] cafe_ccic: Configure ov7670 correctly
[media] ov7670: allow configuration of image size, clock speed, and I/O method
[media] af9015: support for DigitalNow TinyTwin v3 [1f4d:9016]
[media] af9015: map DigitalNow TinyTwin v2 remote
[media] DigitalNow TinyTwin remote controller
[media] af9015: RC fixes and improvements
videodev2.h.xml: Update to reflect the latest changes at videodev2.h
[media] v4l: document new Bayer and monochrome pixel formats
[media] DocBook/v4l: Add missing formats used on gspca cpia1 and sn9c2028
[media] firedtv: add parameter to fake ca_system_ids in CA_INFO
[media] tm6000: fix a macro coding style issue
tm6000: Remove some ugly debug code
[media] Nova-S-Plus audio line input
[media] [RFC,1/1] V4L2: Use new CAP bits in existing RDS capable drivers
...
21 Oct, 2010
2 commits
-
The driver sn9c102 does not know about the sensor mi0360b.
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
Tested-by: Simon Danner
Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab
18 Oct, 2010
1 commit
-
The patch below updates broken web addresses in the kernel
Signed-off-by: Justin P. Mattock
Cc: Maciej W. Rozycki
Cc: Geert Uytterhoeven
Cc: Finn Thain
Cc: Randy Dunlap
Cc: Matt Turner
Cc: Dimitry Torokhov
Cc: Mike Frysinger
Acked-by: Ben Pfaff
Acked-by: Hans J. Koch
Reviewed-by: Finn Thain
Signed-off-by: Jiri Kosina
01 Jun, 2010
1 commit
-
This change fixes the Debian Bug #579332
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579332Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab
19 May, 2010
1 commit
-
Return an error if the controller is not found.
Signed-off-by: Dan Carpenter
Signed-off-by: Mauro Carvalho Chehab
18 May, 2010
2 commits
-
Some webcams handled by both sn9c102 or zc0301 and some gspca subdrivers
(sonixb, sonixj and zc3xx) were not handled when gspca was generated but
not the associated subdrivers.Signed-off-by: Jean-François Moine
Signed-off-by: Mauro Carvalho Chehab -
The hv7131d sensor code also works for the hv7131e, this patch changes
it to also recognize the hv7131e sensor id.Tested-by: Frank Danapfel
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
08 Mar, 2010
1 commit
-
Conflicts:
Documentation/filesystems/proc.txt
arch/arm/mach-u300/include/mach/debug-macro.S
drivers/net/qlge/qlge_ethtool.c
drivers/net/qlge/qlge_main.c
drivers/net/typhoon.c
27 Feb, 2010
3 commits
-
Make the sonixb driver handle pas106 and pas202 cameras, when both it
and the sn9c102 driver are enabled in the kernel configuration.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
We have some duplicate functionality between the zc0301 and gspca-zc3xx,
the sn9c102 and gspca-sonixb + gspca-sonix, and et61x251 and gscpa-etoms
drivers.The non gspca versions of these drivers not only show a lot of code
duplicty (amongsth each other), as they all copy the same generic usb
webcam code instead of using some sort of framework. They also have not
seen any updates for more then 2 years, where as the gspca drivers are
actively maintained.So it is time for the non gspca versions of these drivers to go away,
marking them as deprecated is the first step in this.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab -
When both the gspca_sonixb and the sn9c102 driver are enabled, make the
gspca_sonixb driver handle cams with usb-id of 0c45:6007. The sn9c102 driver
is being phased out and gspca driver has been successfully tested
with an 0c45:6007 camara.Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
09 Feb, 2010
1 commit
-
In particular, several occurances of funny versions of 'success',
'unknown', 'therefore', 'acknowledge', 'argument', 'achieve', 'address',
'beginning', 'desirable', 'separate' and 'necessary' are fixed.Signed-off-by: Daniel Mack
Cc: Joe Perches
Cc: Junio C Hamano
Signed-off-by: Jiri Kosina
16 Dec, 2009
2 commits
-
Now that the video_device registration is tested using
video_is_registered(), drivers don't need to initialize the
video_device::minor field to -1 anymore.Remove those unneeded assignments.
[mchehab.redhat.com: removed tm6000 changes as tm6000 is not ready yet for submission even on staging]
Signed-off-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab -
Fix all device drivers to use the new video_device_node_name function.
This also strips kernel log messages from the "/dev/" prefix, has the device
node location is a userspace policy decision unknown to the kernel.Signed-off-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab
28 Sep, 2009
1 commit
-
* mark struct vm_area_struct::vm_ops as const
* mark vm_ops in AGP codeBut leave TTM code alone, something is fishy there with global vm_ops
being used.Signed-off-by: Alexey Dobriyan
Signed-off-by: Linus Torvalds
19 Sep, 2009
1 commit
-
…n in some V4L2 drivers
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 Sep, 2009
1 commit
-
Let 0c45:60fc in sn9c102 and 0c45:613e in gspca-sonixj (sensor not supported).
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab
30 Mar, 2009
2 commits
-
Prefer the gspca sonixj driver for the Philips SPC600NC webcam instead of
the sn9c102 driver. As we've got userreports that it works with the gspca
driver, whereas it fails with the sn9c102 driver, see:
https://bugzilla.redhat.com/show_bug.cgi?id=477111Signed-off-by: Hans de Goede
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab
03 Jan, 2009
2 commits
-
Since internal to v4l2 the ioctl prototype is the same regardless of it
being called through .ioctl or .unlocked_ioctl, we need to convert it all
to the long return type of unlocked_ioctl.Thanks to Jean-Francois Moine for posting an initial patch for this and
thus bringing it to our attention.Cc: Jean-Francois Moine
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Introduce a struct v4l2_file_operations for v4l2 drivers.
Remove the unnecessary inode argument.
Move compat32 handling (and llseek) into the v4l2-dev core: this is now
handled in the v4l2 core and no longer in the drivers themselves.Note that this changeset reverts an earlier patch that changed the return
type of__video_ioctl2 from int to long. This change will be reinstated
later in a much improved version.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
30 Dec, 2008
1 commit
-
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab