mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
V4L/DVB (11709): gspca - zc3xx: Bad debug level in i2c_read
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
11bd199aa0
commit
0b119b7bf4
@ -6307,7 +6307,7 @@ static __u16 i2c_read(struct gspca_dev *gspca_dev,
|
|||||||
retbyte = reg_r_i(gspca_dev, 0x0091); /* read status */
|
retbyte = reg_r_i(gspca_dev, 0x0091); /* read status */
|
||||||
retval = reg_r_i(gspca_dev, 0x0095); /* read Lowbyte */
|
retval = reg_r_i(gspca_dev, 0x0095); /* read Lowbyte */
|
||||||
retval |= reg_r_i(gspca_dev, 0x0096) << 8; /* read Hightbyte */
|
retval |= reg_r_i(gspca_dev, 0x0096) << 8; /* read Hightbyte */
|
||||||
PDEBUG(D_USBO, "i2c r [%02x] -> %04x (%02x)",
|
PDEBUG(D_USBI, "i2c r [%02x] -> %04x (%02x)",
|
||||||
reg, retval, retbyte);
|
reg, retval, retbyte);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user