diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-18 04:52:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:29:33 -0400 |
commit | d20b27478d6ccf7c4c8de4f09db2bdbaec82a6c0 (patch) | |
tree | b23fa80f8238349126ac54600f3dafbb82b6b32c /drivers/media | |
parent | fac3639d886ae577d74e2da16e6a448620d432c9 (diff) |
V4L/DVB (8415): gspca: Infinite loop in i2c_w() of etoms.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/etoms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/etoms.c b/drivers/media/video/gspca/etoms.c index 5bb8dc1adbb7..8ab4ea7201a9 100644 --- a/drivers/media/video/gspca/etoms.c +++ b/drivers/media/video/gspca/etoms.c | |||
@@ -292,7 +292,7 @@ static void reg_w(struct gspca_dev *gspca_dev, | |||
292 | static int i2c_w(struct gspca_dev *gspca_dev, | 292 | static int i2c_w(struct gspca_dev *gspca_dev, |
293 | __u8 reg, | 293 | __u8 reg, |
294 | const __u8 *buffer, | 294 | const __u8 *buffer, |
295 | __u16 len, __u8 mode) | 295 | int len, __u8 mode) |
296 | { | 296 | { |
297 | /* buffer should be [D0..D7] */ | 297 | /* buffer should be [D0..D7] */ |
298 | __u8 ptchcount; | 298 | __u8 ptchcount; |