diff options
author | Erik Andrén <erik.andren@gmail.com> | 2008-11-27 11:58:20 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:58 -0500 |
commit | 48223c88299a10a62ff5f5e40bd07670a21c3de9 (patch) | |
tree | 8aa6331239f1b91e2f097262b2cc52dd44c8574a /drivers/media/video/gspca | |
parent | 83fdea270ca5a648185525f61d27c9068355215c (diff) |
V4L/DVB (10029): m5602: remove uneeded test on po1030
The po1030 never sends long i2c messages, no need to test for that in
the init phase.
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_po1030.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.c b/drivers/media/video/gspca/m5602/m5602_po1030.c index 6ec4d2c6315c..f9932a16fbd7 100644 --- a/drivers/media/video/gspca/m5602/m5602_po1030.c +++ b/drivers/media/video/gspca/m5602/m5602_po1030.c | |||
@@ -87,12 +87,6 @@ int po1030_init(struct sd *sd) | |||
87 | init_po1030[i][1], data, 1); | 87 | init_po1030[i][1], data, 1); |
88 | break; | 88 | break; |
89 | 89 | ||
90 | case SENSOR_LONG: | ||
91 | data[0] = init_po1030[i][2]; | ||
92 | data[1] = init_po1030[i][3]; | ||
93 | err = m5602_write_sensor(sd, | ||
94 | init_po1030[i][1], data, 2); | ||
95 | break; | ||
96 | default: | 90 | default: |
97 | info("Invalid stream command, exiting init"); | 91 | info("Invalid stream command, exiting init"); |
98 | return -EINVAL; | 92 | return -EINVAL; |