summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-03-12 08:40:19 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-03-12 08:40:19 +0100
commit2f9645d66b4695de43b5545590cfc07f7319e56e (patch)
tree5279cf8b773ecc95415ccf3f0874adbbfbf20f6d /linux/drivers/media/video/gspca/t613.c
parentbcaafb56e4c3741c1923db37683a4590dda2cbfb (diff)
downloadmediapointer-dvb-s2-2f9645d66b4695de43b5545590cfc07f7319e56e.tar.gz
mediapointer-dvb-s2-2f9645d66b4695de43b5545590cfc07f7319e56e.tar.bz2
gspca - t613: Do sensor reset only for sensor om6802.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/t613.c')
-rw-r--r--linux/drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c
index f6ff3e1ea..1b58b65fb 100644
--- a/linux/drivers/media/video/gspca/t613.c
+++ b/linux/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) {