summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/etoms.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-18 07:52:04 +0200
committerJean-Francois Moine <moinejf@free.fr>2008-07-18 07:52:04 +0200
commita2bd5285bd96156165aed8dbf5b1ecec0b71aa80 (patch)
tree96a58f43568dc30f3a692a3202e1ecd45985e167 /linux/drivers/media/video/gspca/etoms.c
parentc6071050792a48dd93a475eeadecdd17064a351c (diff)
downloadmediapointer-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.c2
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;