diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-11-09 00:38:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:25 -0500 |
commit | 91cad0f2bda7cd254efcbbff0e53f86941ca7764 (patch) | |
tree | d4e301ce6f88b466d915db6a536f0b23cb39a9e5 /drivers/media/video/em28xx/em28xx-video.c | |
parent | 141a877949ffc22f33dc467dc256259c547ad52e (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/em28xx-video.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 18 |
1 files changed, 12 insertions, 6 deletions
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 | ||