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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=93604b0fdde324da0a4581efaa584a036554b36a;p=openwrt%2Fstaging%2Fblogic.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 cbc20dbdcdc5..73c4ebbcbfb1 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; }