Skip to content

Commit

Permalink
V4L/DVB (8415): gspca: Infinite loop in i2c_w() of etoms.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Jul 20, 2008
1 parent fac3639 commit d20b274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/etoms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d20b274

Please sign in to comment.