From: Jean-François Moine Date: Fri, 4 Jun 2010 08:54:41 +0000 (-0300) Subject: V4L/DVB: gspca - zc3xx: Don't change the registers 7 and 8 for sensor pas202b X-Git-Tag: v2.6.36-rc1~582^2~210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93604b0fdde324da0a4581efaa584a036554b36a;p=platform%2Fkernel%2Flinux-3.10.git V4L/DVB: gspca - zc3xx: Don't change the registers 7 and 8 for sensor pas202b These registers seem to act on the JPEG compression whose control is not implemented in the current driver. Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index cbc20db..73c4ebb 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c @@ -6915,10 +6915,6 @@ static int sd_start(struct gspca_dev *gspca_dev) reg_w(dev, 0x00, 0x0007); /* (from win traces) */ reg_w(dev, 0x02, ZC3XX_R008_CLOCKSETTING); break; - case SENSOR_PAS202B: - reg_w(dev, 0x32, 0x0007); /* (from win traces) */ - reg_w(dev, 0x02, ZC3XX_R008_CLOCKSETTING); - break; } return 0; }