diff options
-rw-r--r-- | drivers/media/dvb/ngene/ngene-core.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/media/dvb/ngene/ngene-core.c b/drivers/media/dvb/ngene/ngene-core.c index bba59b667d47..12810834d05a 100644 --- a/drivers/media/dvb/ngene/ngene-core.c +++ b/drivers/media/dvb/ngene/ngene-core.c | |||
@@ -728,9 +728,11 @@ int ngene_command_stream_control(struct ngene *dev, u8 stream, u8 control, | |||
728 | com.in_len = sizeof(struct FW_STREAM_CONTROL); | 728 | com.in_len = sizeof(struct FW_STREAM_CONTROL); |
729 | com.out_len = 0; | 729 | com.out_len = 0; |
730 | 730 | ||
731 | printk(KERN_INFO DEVICE_NAME ": Stream=%02x, Control=%02x, Mode=%02x\n", | 731 | dprintk(KERN_INFO DEVICE_NAME |
732 | com.cmd.StreamControl.Stream, com.cmd.StreamControl.Control, | 732 | ": Stream=%02x, Control=%02x, Mode=%02x\n", |
733 | com.cmd.StreamControl.Mode); | 733 | com.cmd.StreamControl.Stream, com.cmd.StreamControl.Control, |
734 | com.cmd.StreamControl.Mode); | ||
735 | |||
734 | chan->Mode = mode; | 736 | chan->Mode = mode; |
735 | 737 | ||
736 | if (!(control & 0x80)) { | 738 | if (!(control & 0x80)) { |
@@ -1042,7 +1044,7 @@ static int i2c_write_eeprom(struct i2c_adapter *adapter, | |||
1042 | .len = sizeof(m)}; | 1044 | .len = sizeof(m)}; |
1043 | 1045 | ||
1044 | if (i2c_transfer(adapter, &msg, 1) != 1) { | 1046 | if (i2c_transfer(adapter, &msg, 1) != 1) { |
1045 | dprintk(KERN_DEBUG DEVICE_NAME ": Error writing EEPROM!\n"); | 1047 | dprintk(KERN_ERR DEVICE_NAME ": Error writing EEPROM!\n"); |
1046 | return -EIO; | 1048 | return -EIO; |
1047 | } | 1049 | } |
1048 | return 0; | 1050 | return 0; |
@@ -1058,7 +1060,7 @@ static int i2c_read_eeprom(struct i2c_adapter *adapter, | |||
1058 | .buf = data, .len = len} }; | 1060 | .buf = data, .len = len} }; |
1059 | 1061 | ||
1060 | if (i2c_transfer(adapter, msgs, 2) != 2) { | 1062 | if (i2c_transfer(adapter, msgs, 2) != 2) { |
1061 | dprintk(KERN_DEBUG DEVICE_NAME ": Error reading EEPROM\n"); | 1063 | dprintk(KERN_ERR DEVICE_NAME ": Error reading EEPROM\n"); |
1062 | return -EIO; | 1064 | return -EIO; |
1063 | } | 1065 | } |
1064 | return 0; | 1066 | return 0; |
@@ -2331,7 +2333,7 @@ static int ngene_start(struct ngene *dev) | |||
2331 | bconf = hdtv_config; | 2333 | bconf = hdtv_config; |
2332 | ngene_reset_decypher(dev); | 2334 | ngene_reset_decypher(dev); |
2333 | } | 2335 | } |
2334 | printk(KERN_INFO DEVICE_NAME ": FW 17 buffer config\n"); | 2336 | dprintk(KERN_DEBUG DEVICE_NAME ": FW 17 buffer config\n"); |
2335 | stat = ngene_command_config_free_buf(dev, bconf); | 2337 | stat = ngene_command_config_free_buf(dev, bconf); |
2336 | } else { | 2338 | } else { |
2337 | int bconf = BUFFER_CONFIG_4422; | 2339 | int bconf = BUFFER_CONFIG_4422; |