forked from Minki/linux
V4L/DVB: ngene: Change severity of some diagnostic messages
Changed severity of some diagnostic messages. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
236fa316ba
commit
44cdd064aa
@ -728,9 +728,11 @@ int ngene_command_stream_control(struct ngene *dev, u8 stream, u8 control,
|
|||||||
com.in_len = sizeof(struct FW_STREAM_CONTROL);
|
com.in_len = sizeof(struct FW_STREAM_CONTROL);
|
||||||
com.out_len = 0;
|
com.out_len = 0;
|
||||||
|
|
||||||
printk(KERN_INFO DEVICE_NAME ": Stream=%02x, Control=%02x, Mode=%02x\n",
|
dprintk(KERN_INFO DEVICE_NAME
|
||||||
com.cmd.StreamControl.Stream, com.cmd.StreamControl.Control,
|
": Stream=%02x, Control=%02x, Mode=%02x\n",
|
||||||
com.cmd.StreamControl.Mode);
|
com.cmd.StreamControl.Stream, com.cmd.StreamControl.Control,
|
||||||
|
com.cmd.StreamControl.Mode);
|
||||||
|
|
||||||
chan->Mode = mode;
|
chan->Mode = mode;
|
||||||
|
|
||||||
if (!(control & 0x80)) {
|
if (!(control & 0x80)) {
|
||||||
@ -1042,7 +1044,7 @@ static int i2c_write_eeprom(struct i2c_adapter *adapter,
|
|||||||
.len = sizeof(m)};
|
.len = sizeof(m)};
|
||||||
|
|
||||||
if (i2c_transfer(adapter, &msg, 1) != 1) {
|
if (i2c_transfer(adapter, &msg, 1) != 1) {
|
||||||
dprintk(KERN_DEBUG DEVICE_NAME ": Error writing EEPROM!\n");
|
dprintk(KERN_ERR DEVICE_NAME ": Error writing EEPROM!\n");
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
@ -1058,7 +1060,7 @@ static int i2c_read_eeprom(struct i2c_adapter *adapter,
|
|||||||
.buf = data, .len = len} };
|
.buf = data, .len = len} };
|
||||||
|
|
||||||
if (i2c_transfer(adapter, msgs, 2) != 2) {
|
if (i2c_transfer(adapter, msgs, 2) != 2) {
|
||||||
dprintk(KERN_DEBUG DEVICE_NAME ": Error reading EEPROM\n");
|
dprintk(KERN_ERR DEVICE_NAME ": Error reading EEPROM\n");
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
@ -2331,7 +2333,7 @@ static int ngene_start(struct ngene *dev)
|
|||||||
bconf = hdtv_config;
|
bconf = hdtv_config;
|
||||||
ngene_reset_decypher(dev);
|
ngene_reset_decypher(dev);
|
||||||
}
|
}
|
||||||
printk(KERN_INFO DEVICE_NAME ": FW 17 buffer config\n");
|
dprintk(KERN_DEBUG DEVICE_NAME ": FW 17 buffer config\n");
|
||||||
stat = ngene_command_config_free_buf(dev, bconf);
|
stat = ngene_command_config_free_buf(dev, bconf);
|
||||||
} else {
|
} else {
|
||||||
int bconf = BUFFER_CONFIG_4422;
|
int bconf = BUFFER_CONFIG_4422;
|
||||||
|
Loading…
Reference in New Issue
Block a user