Skip to contentSkip to conversation

gspca locking fixes and moving over usb-ids to sonix? drivers

PATCH New Hans de Goede 1 participant 1 message Jan 9, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gspca locking fixes and moving over usb-ids to sonix? drivers

Hi Mauro,

Here is a new pull request including all the patches from my previous request:

"Please pull from my tree for a number of gspca core fixes. While looking into the issue you were seeing with qv4l2 I also found a bug in the gspca core which made it impossible to switch from userptr to mmap mode with qv4l2 and gspca. While fixing that I also ended up fixing some locking issues."

On top of that there are patches removing non supported bogus / non supported usb-ids from Luca's et61x251 and sn9xc102 drivers. Combined with some fixes / bridge variant unification patches to the gspca sonixb and sonixj drivers allowing moving most usb-ids to use gspca sonix? by default.

I've asked J.F. Moine to review all these patches and he has and responded to me with an Acked-By email hence the Acked-By tag on all of them. Except for the last one which I did after he reviewed the 2 patch sets.

The following changes since commit 0a97a683049d83deaf636d18316358065417d87b:

[media] cpia2: convert .ioctl to .unlocked_ioctl (2011-01-06 11:34:41 -0200)

are available in the git repository at:
git://linuxtv.org/hgoede/gspca.git for_2.6.38-rc1

Hans de Goede (19):
gspca_main: Locking fixes 1
gspca_main: Locking fixes 2
gspca_main: Update buffer flags even when user_copy fails
gspca_main: Remove no longer used users variable
gspca_main: Set memory type to GSPCA_MEMORY_NO on buffer release
gspca_main: Simplify read mode memory type checks
gspca_main: Allow switching from read to mmap / userptr mode
gspca_main: wake wq on streamoff
et61x251: remove wrongly claimed usb ids
sn9c102: Remove not supported and non existing usb ids
gspca_sonixb: Refactor to unify bridge handling
gspca_sonixb: Adjust autoexposure window for vga cams so that it is centered
gspca_sonixb: Fix TAS5110D sensor gain control
gspca_sonixb: TAS5130C brightness control really is a gain control
gspca_sonixb: Add usb ids for known sn9c103 cameras
gspca_sonixj: Enable more usb ids when sn9c102 gets compiled too
gspca_sonixj: Probe sensor type independent of bridge type
gspca_sonixj: Add one more commented out usb-id
gspca_sonixb: Fix mirrored image with ov7630

 drivers/media/video/et61x251/et61x251.h        |   24 --
 drivers/media/video/gspca/gspca.c              |  208 +++++++++----------
 drivers/media/video/gspca/gspca.h              |    2 -
 drivers/media/video/gspca/sonixb.c             |  266 ++++++++++++++----------
 drivers/media/video/gspca/sonixj.c             |   63 +++---
 drivers/media/video/sn9c102/sn9c102_devtable.h |   74 +++----
 6 files changed, 311 insertions(+), 326 deletions(-)

Thanks & Regards,

Hans