|
@@ -739,14 +739,8 @@ static int stv090x_write_regs(struct stv090x_state *state, unsigned int reg, u8
|
|
|
buf[1] = reg & 0xff;
|
|
buf[1] = reg & 0xff;
|
|
|
memcpy(&buf[2], data, count);
|
|
memcpy(&buf[2], data, count);
|
|
|
|
|
|
|
|
- if (unlikely(*state->verbose >= FE_DEBUGREG)) {
|
|
|
|
|
- int i;
|
|
|
|
|
-
|
|
|
|
|
- printk(KERN_DEBUG "%s [0x%04x]:", __func__, reg);
|
|
|
|
|
- for (i = 0; i < count; i++)
|
|
|
|
|
- printk(" %02x", data[i]);
|
|
|
|
|
- printk("\n");
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ dprintk(FE_DEBUGREG, 1, "%s [0x%04x]: %*ph",
|
|
|
|
|
+ __func__, reg, count, data);
|
|
|
|
|
|
|
|
ret = i2c_transfer(state->i2c, &i2c_msg, 1);
|
|
ret = i2c_transfer(state->i2c, &i2c_msg, 1);
|
|
|
if (ret != 1) {
|
|
if (ret != 1) {
|