mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
fac3639d88
commit
d20b27478d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue