30 Mar, 2009
2 commits
-
usb_make_path reports canonical bus info. Use it when reporting bus info
in VIDIOC_QUERYCAP.Signed-off-by: Thierry MERLE
Signed-off-by: Mauro Carvalho Chehab -
Patch removes err() macros from few usb devices.
It places pr_err in pvrusb2-v4l2.c, dev_err in dabusb and in usbvision
drivers. Beside placing dev_err, patch defines new s2255_dev_err macro
with S2255_DRIVER_NAME in s2255 module.Signed-off-by: Alexey Klimov
Acked-by: Thierry Merle
Acked-by: Mike Isely
Signed-off-by: Mauro Carvalho Chehab
03 Jan, 2009
1 commit
-
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
17 Nov, 2008
1 commit
-
Noticed by sparse:
drivers/media/video/s2255drv.c:2531:6: warning: restricted __le32 degrades to integerCc: Dean Anderson
Signed-off-by: Harvey Harrison
Signed-off-by: Andrew Morton
Signed-off-by: Mauro Carvalho Chehab
12 Oct, 2008
5 commits
-
Fix sparse warnings. None are serious, but cutting down on these helps find
future serious sparse warnings/errors.Redid the av7710.c patch based on a suggestion by Oliver Endriss.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
adds VIDIOC_S_JPEGCOMP and VIDIOC_G_JPEGCOMP ioctls for
controlling JPEG compression quality.Signed-off-by: Dean Anderson
Signed-off-by: Mauro Carvalho Chehab -
Remove the priv field and let video_get/set_drvdata use dev_get_drvdata
and dev_set_drvdata instead.Convert all drivers that still used priv directly.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Fix for reloading firmware when removing and reloading driver
Handshaking for firmware loading and changing modes.
Removes the restriction of one user per channel at a time.
JPEG capture mode added.Signed-off-by: Dean Anderson
Signed-off-by: Mauro Carvalho Chehab -
The BKL is now moved from the video_open function in v4l2-dev.c to the
various drivers. It seems about a third of the drivers already has a
lock of some sort protecting the open(), another third uses
video_exclusive_open (yuck!) and the last third required adding the
BKL in their open function.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
05 Oct, 2008
1 commit
-
Fixes videobuf field_count
Signed-off-by: Dean Anderson
Signed-off-by: Mauro Carvalho Chehab
27 Jul, 2008
3 commits
-
The type and type2 fields were unused and so could be removed.
Instead add a vfl_type field that contains the type of the video
device.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
This patch fixes timer issues in driver disconnect.
It also removes the restriction of one user per channel at a time.Thanks to Oliver Neukum and Mauro Chehab for finding these issues.
Locking of video stream partly based on saa7134 driver.Signed-off-by: Dean Anderson
Signed-off-by: Mauro Carvalho Chehab
26 Jul, 2008
1 commit
-
All ioctl callbacks are now stored in a new v4l2_ioctl_ops struct. Drivers fill in
a const struct v4l2_ioctl_ops and video_device just contains a const pointer to it.This ensures a clean separation between the const ops struct and the non-const
video_device struct.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
24 Jul, 2008
2 commits
-
The functions in a header should not belong to another module. The prio functions
belong to v4l2-common.c, so move them to v4l2-common.h.The ioctl functions belong to v4l2-ioctl.c, so create a new v4l2-ioctl.h header
and move those functions to it.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The field 'dev' is not the video device, but the parent of the video device.
Rename accordingly.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
20 Jul, 2008
2 commits
-
This patch fixes some coding style issues.
It also fixes a NULL de-reference on driver unload.
The permissions for the module parameters were changed to 0644.Signed-off-by: Dean Anderson
Signed-off-by: Mauro Carvalho Chehab -
It was primarily developed by Dean Anderson with only a little bit of
guidance and cleanup by Greg.Signed-off-by: Dean Anderson
Signed-off-by: Greg Kroah-Hartman
[mchehab@infradead.org: fixed renamed callbacks]
Signed-off-by: Mauro Carvalho Chehab