projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd2b93
)
V4L/DVB: gspca - sonixj: Adjust debug output. - fix bad function name - add debug...
author
Jean-François Moine
<moinejf@free.fr>
Sun, 25 Apr 2010 17:27:39 +0000
(14:27 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 19 May 2010 15:58:12 +0000
(12:58 -0300)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/sonixj.c
b/drivers/media/video/gspca/sonixj.c
index 01c4a20b787393590f9cfe32c0142354936a058c..ae826186f35ad8448a77a979b5219c6739bb0049 100644
(file)
--- a/
drivers/media/video/gspca/sonixj.c
+++ b/
drivers/media/video/gspca/sonixj.c
@@
-1337,7
+1337,7
@@
static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val)
{
struct sd *sd = (struct sd *) gspca_dev;
- PDEBUG(D_USBO, "i2c_w
2
[%02x] = %02x", reg, val);
+ PDEBUG(D_USBO, "i2c_w
1
[%02x] = %02x", reg, val);
switch (sd->sensor) {
case SENSOR_ADCM1700:
case SENSOR_OM6802:
@@
-1369,6
+1369,8
@@
static void i2c_w1(struct gspca_dev *gspca_dev, u8 reg, u8 val)
static void i2c_w8(struct gspca_dev *gspca_dev,
const u8 *buffer)
{
+ PDEBUG(D_USBO, "i2c_w8 [%02x] = %02x ..",
+ buffer[2], buffer[3]);
memcpy(gspca_dev->usb_buf, buffer, 8);
usb_control_msg(gspca_dev->dev,
usb_sndctrlpipe(gspca_dev->dev, 0),