diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-18 07:52:04 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-07-18 07:52:04 +0200 |
commit | a2bd5285bd96156165aed8dbf5b1ecec0b71aa80 (patch) | |
tree | 96a58f43568dc30f3a692a3202e1ecd45985e167 /linux/drivers/media/video/gspca/etoms.c | |
parent | c6071050792a48dd93a475eeadecdd17064a351c (diff) | |
download | mediapointer-dvb-s2-a2bd5285bd96156165aed8dbf5b1ecec0b71aa80.tar.gz mediapointer-dvb-s2-a2bd5285bd96156165aed8dbf5b1ecec0b71aa80.tar.bz2 |
gspca: Infinite loop in i2c_w() of etoms.
From: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/etoms.c')
-rw-r--r-- | linux/drivers/media/video/gspca/etoms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/etoms.c b/linux/drivers/media/video/gspca/etoms.c index 531449eaf..e0b9cd86a 100644 --- a/linux/drivers/media/video/gspca/etoms.c +++ b/linux/drivers/media/video/gspca/etoms.c @@ -292,7 +292,7 @@ static void reg_w(struct gspca_dev *gspca_dev, static int i2c_w(struct gspca_dev *gspca_dev, __u8 reg, const __u8 *buffer, - __u16 len, __u8 mode) + int len, __u8 mode) { /* buffer should be [D0..D7] */ __u8 ptchcount; |