summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-03-12 08:40:19 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 23:20:22 +0200
commitdd72cb3eda68067f27e928a44aa40d82f972669a (patch)
tree447e180034c41db53ec5d4c0c2948bea98ba54cc /drivers/media/video/gspca/t613.c
parentMerge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-dd72cb3eda68067f27e928a44aa40d82f972669a.tar.xz
linux-dd72cb3eda68067f27e928a44aa40d82f972669a.zip
V4L/DVB (11446): gspca - t613: Do sensor reset only for sensor om6802.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/t613.c')
-rw-r--r--drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index f63e37e2e4fd..404214b8cd2b 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -697,7 +697,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
return -EINVAL;
}
- if (sd->sensor != SENSOR_OTHER) {
+ if (sd->sensor == SENSOR_OM6802) {
reg_w_buf(gspca_dev, n1, sizeof n1);
i = 5;
while (--i >= 0) {