aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2005-11-09 00:38:13 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:25 -0500
commit91cad0f2bda7cd254efcbbff0e53f86941ca7764 (patch)
treed4e301ce6f88b466d915db6a536f0b23cb39a9e5 /drivers/media/video/em28xx
parent141a877949ffc22f33dc467dc256259c547ad52e (diff)
[PATCH] v4l: 856: some module rename and small fixes
- Some module rename and small fixes Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r--drivers/media/video/em28xx/em28xx-i2c.c3
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c18
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