diff options
-rw-r--r-- | drivers/media/video/em28xx/em28xx-i2c.c | 3 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 18 |
2 files changed, 15 insertions, 6 deletions
diff --git a/drivers/media/video/em28xx/em28xx-i2c.c b/drivers/media/video/em28xx/em28xx-i2c.c index 20728882e333..f0b386b4eb84 100644 --- a/drivers/media/video/em28xx/em28xx-i2c.c +++ b/drivers/media/video/em28xx/em28xx-i2c.c | |||
@@ -373,6 +373,9 @@ static int em2820_i2c_eeprom(struct em2820 *dev, unsigned char *eedata, int len) | |||
373 | printk(KERN_INFO "200mA max power\n"); | 373 | printk(KERN_INFO "200mA max power\n"); |
374 | break; | 374 | break; |
375 | } | 375 | } |
376 | printk(KERN_INFO "Table at 0x%02x, strings=0x%04x, 0x%04x, 0x%04x\n", | ||
377 | em_eeprom->string_idx_table,em_eeprom->string1, | ||
378 | em_eeprom->string2,em_eeprom->string3); | ||
376 | 379 | ||
377 | return 0; | 380 | return 0; |
378 | } | 381 | } |
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index a569be3e2f29..d385149edd48 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1655,7 +1655,7 @@ static int em2820_init_dev(struct em2820 **devhandle, struct usb_device *udev, | |||
1655 | #ifdef CONFIG_MODULES | 1655 | #ifdef CONFIG_MODULES |
1656 | /* request some modules */ | 1656 | /* request some modules */ |
1657 | if (dev->decoder == EM2820_SAA7113 || dev->decoder == EM2820_SAA7114) | 1657 | if (dev->decoder == EM2820_SAA7113 || dev->decoder == EM2820_SAA7114) |
1658 | request_module("saa7113"); | 1658 | request_module("saa711x"); |
1659 | if (dev->decoder == EM2820_TVP5150) | 1659 | if (dev->decoder == EM2820_TVP5150) |
1660 | request_module("tvp5150"); | 1660 | request_module("tvp5150"); |
1661 | if (dev->has_tuner) | 1661 | if (dev->has_tuner) |
@@ -1753,14 +1753,20 @@ static int em2820_usb_probe(struct usb_interface *interface, | |||
1753 | udev = usb_get_dev(interface_to_usbdev(interface)); | 1753 | udev = usb_get_dev(interface_to_usbdev(interface)); |
1754 | ifnum = interface->altsetting[0].desc.bInterfaceNumber; | 1754 | ifnum = interface->altsetting[0].desc.bInterfaceNumber; |
1755 | 1755 | ||
1756 | em2820_err(DRIVER_NAME " new device (%04x:%04x): interface %i, class %i\n", | ||
1757 | udev->descriptor.idVendor,udev->descriptor.idProduct, | ||
1758 | ifnum, | ||
1759 | interface->altsetting[0].desc.bInterfaceClass); | ||
1760 | 1756 | ||
1761 | /* Don't register audio interfaces */ | 1757 | /* Don't register audio interfaces */ |
1762 | if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) | 1758 | if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) { |
1759 | em2820_err(DRIVER_NAME " audio device (%04x:%04x): interface %i, class %i\n", | ||
1760 | udev->descriptor.idVendor,udev->descriptor.idProduct, | ||
1761 | ifnum, | ||
1762 | interface->altsetting[0].desc.bInterfaceClass); | ||
1763 | return -ENODEV; | 1763 | return -ENODEV; |
1764 | } | ||
1765 | |||
1766 | em2820_err(DRIVER_NAME " new video device (%04x:%04x): interface %i, class %i\n", | ||
1767 | udev->descriptor.idVendor,udev->descriptor.idProduct, | ||
1768 | ifnum, | ||
1769 | interface->altsetting[0].desc.bInterfaceClass); | ||
1764 | 1770 | ||
1765 | endpoint = &interface->cur_altsetting->endpoint[1].desc; | 1771 | endpoint = &interface->cur_altsetting->endpoint[1].desc; |
1766 | 1772 | ||