summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_po1030.c
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2008-11-27 17:58:20 +0100
committerErik Andrén <erik.andren@gmail.com>2008-11-27 17:58:20 +0100
commitcf10cacd2fad010966042d84b062929da66d1bec (patch)
treefe3c4c50b692f0eb882a1296d87e774158f70d6c /linux/drivers/media/video/gspca/m5602/m5602_po1030.c
parentfd81ab668355ea851600bbdd6d3f3414c8cd0c9e (diff)
downloadmediapointer-dvb-s2-cf10cacd2fad010966042d84b062929da66d1bec.tar.gz
mediapointer-dvb-s2-cf10cacd2fad010966042d84b062929da66d1bec.tar.bz2
The po1030 never sends long i2c messages, no need to test for that in the init phase
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_po1030.c')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_po1030.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_po1030.c b/linux/drivers/media/video/gspca/m5602/m5602_po1030.c
index 6ec4d2c63..f9932a16f 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_po1030.c
+++ b/linux/drivers/media/video/gspca/m5602/m5602_po1030.c
@@ -87,12 +87,6 @@ int po1030_init(struct sd *sd)
init_po1030[i][1], data, 1);
break;
- case SENSOR_LONG:
- data[0] = init_po1030[i][2];
- data[1] = init_po1030[i][3];
- err = m5602_write_sensor(sd,
- init_po1030[i][1], data, 2);
- break;
default:
info("Invalid stream command, exiting init");
return -EINVAL;