Skip to contentSkip to conversation

Fixes for driver pwc

PATCH New Hans de Goede 1 participant 1 message Nov 16, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fixes for driver pwc

Hi,

While investigating the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=624103

I found several errors in the handling of isoc transfers in the pwc driver. The fixes in this pull request fix these.

Even with this fixed, the pwc driver is still far from ideal in various places, esp. plug / unplug handling. If I feel like it I may rewrite it as a gspca sub driver in the near future.

The following changes since commit 552faf8580766b6fc944cb966f690ed0624a5564:

[media] mfd: Add timberdale video-in driver to timberdale (2010-11-16 12:06:58 -0200)

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

Hans de Goede (3):
pwc: do not start isoc stream on /dev/video open
pwc: Also set alt setting to alt0 when no error occured
pwc: failure to submit an urb is a fatal error

 drivers/media/video/pwc/pwc-ctrl.c |    7 +++-
 drivers/media/video/pwc/pwc-if.c   |   65 +++++++++++------------------------
 drivers/media/video/pwc/pwc-v4l.c  |   13 ++++---
 drivers/media/video/pwc/pwc.h      |    1 -
 4 files changed, 34 insertions(+), 52 deletions(-)

Regards,

Hans