diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-07 07:31:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:17:59 -0400 |
commit | c41492c89a00630c7482eae25deaf9af91b73c98 (patch) | |
tree | 9b42d5644b7ec6d5e1c48f264aab4ead5c4659af /drivers/media/video/gspca/vc032x.c | |
parent | f87086e302300fdff1bd32049deb7a7f3e3de7da (diff) |
V4L/DVB (8231): gspca: Do not declare the webcams declared by other drivers.
etoms: Do not declare the webcams declared by the driver et61x251.
sonixb, sonixj:
Do not declare the webcams declared by the driver sn9c102.
zc3xx: Do not declare the webcams declared by the driver zc0301.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/vc032x.c')
-rw-r--r-- | drivers/media/video/gspca/vc032x.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c index afbbbd290560..7ca6240c64e1 100644 --- a/drivers/media/video/gspca/vc032x.c +++ b/drivers/media/video/gspca/vc032x.c | |||
@@ -1332,20 +1332,20 @@ static __u8 i2c_write(struct usb_device *dev, | |||
1332 | if (size > 3 || size < 1) | 1332 | if (size > 3 || size < 1) |
1333 | return -EINVAL; | 1333 | return -EINVAL; |
1334 | reg_r(dev, 0xa1, 0xb33f, &retbyte, 1); | 1334 | reg_r(dev, 0xa1, 0xb33f, &retbyte, 1); |
1335 | reg_w(dev, 0xa0, size , 0xb334); | 1335 | reg_w(dev, 0xa0, size, 0xb334); |
1336 | reg_w(dev, 0xa0, reg , 0xb33a); | 1336 | reg_w(dev, 0xa0, reg, 0xb33a); |
1337 | switch (size) { | 1337 | switch (size) { |
1338 | case 1: | 1338 | case 1: |
1339 | reg_w(dev, 0xa0, val[0] , 0xb336); | 1339 | reg_w(dev, 0xa0, val[0], 0xb336); |
1340 | break; | 1340 | break; |
1341 | case 2: | 1341 | case 2: |
1342 | reg_w(dev, 0xa0, val[0] , 0xb336); | 1342 | reg_w(dev, 0xa0, val[0], 0xb336); |
1343 | reg_w(dev, 0xa0, val[1] , 0xb337); | 1343 | reg_w(dev, 0xa0, val[1], 0xb337); |
1344 | break; | 1344 | break; |
1345 | case 3: | 1345 | case 3: |
1346 | reg_w(dev, 0xa0, val[0] , 0xb336); | 1346 | reg_w(dev, 0xa0, val[0], 0xb336); |
1347 | reg_w(dev, 0xa0, val[1] , 0xb337); | 1347 | reg_w(dev, 0xa0, val[1], 0xb337); |
1348 | reg_w(dev, 0xa0, val[2] , 0xb338); | 1348 | reg_w(dev, 0xa0, val[2], 0xb338); |
1349 | break; | 1349 | break; |
1350 | default: | 1350 | default: |
1351 | reg_w(dev, 0xa0, 0x01, 0xb334); | 1351 | reg_w(dev, 0xa0, 0x01, 0xb334); |