提交 d20b2747 编写于 作者: J Jean-Francois Moine 提交者: Mauro Carvalho Chehab

V4L/DVB (8415): gspca: Infinite loop in i2c_w() of etoms.

Signed-off-by: NJean-Francois Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 fac3639d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册