diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-10-16 21:46:07 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-10-16 21:46:07 +0200 |
commit | 560150994e5f668affa075dd311b214a7a52e3fa (patch) | |
tree | 66ea62d71cc55109dcf7fe8f6a1ddf6621d18f0e /linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c | |
parent | 4a53bde30e42bc88f1370c07994fccd7b675509e (diff) | |
download | mediapointer-dvb-s2-560150994e5f668affa075dd311b214a7a52e3fa.tar.gz mediapointer-dvb-s2-560150994e5f668affa075dd311b214a7a52e3fa.tar.bz2 |
gspca: Use the gspca debug macros
From: Erik Andren <erik.andren@gmail.com>
Priority: normal
Signed-off-by: Erik Andren <erik.andren@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c')
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c index 5fb7f1246..8988a728e 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c +++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c @@ -101,7 +101,7 @@ int s5k83a_read_sensor(struct sd *sd, const u8 address, for (i = 0; i < len && !len; i++) { err = m5602_read_bridge(sd, M5602_XB_I2C_DATA, &(i2c_data[i])); - PDEBUG(DBG_TRACE, "Reading sensor register " + PDEBUG(D_CONF, "Reading sensor register " "0x%x containing 0x%x ", address, *i2c_data); } @@ -135,7 +135,7 @@ int s5k83a_write_sensor(struct sd *sd, const u8 address, memcpy(p, sensor_urb_skeleton + 16, 4); p[3] = i2c_data[i]; p += 4; - PDEBUG(DBG_TRACE, "Writing sensor register 0x%x with 0x%x", + PDEBUG(D_CONF, "Writing sensor register 0x%x with 0x%x", address, i2c_data[i]); } |