summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-25 12:23:03 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-25 12:23:03 +0000
commitf7e48751fe28d3bdd184f3b3d29c17d8a12bcd56 (patch)
treedd87ef514ce4b99160f7ed69f4369ac873e48aad /linux/drivers/media/video/em28xx
parentaa76610010e43b9fc24bd195c127dea86dde6072 (diff)
downloadmediapointer-dvb-s2-f7e48751fe28d3bdd184f3b3d29c17d8a12bcd56.tar.gz
mediapointer-dvb-s2-f7e48751fe28d3bdd184f3b3d29c17d8a12bcd56.tar.bz2
- Some module rename and small fixes
- module renamed to cs53l32ac. - New debug info from em2820 eeprom - Fixed request_module to the newer name for saa711x - module info messages improved to show audio interfaces. - Fixed to compile cx53l32ac instead of cx53132ac. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/video/em28xx')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-i2c.c3
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c18
2 files changed, 15 insertions, 6 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-i2c.c b/linux/drivers/media/video/em28xx/em28xx-i2c.c
index 88a771ad2..5f42bb961 100644
--- a/linux/drivers/media/video/em28xx/em28xx-i2c.c
+++ b/linux/drivers/media/video/em28xx/em28xx-i2c.c
@@ -373,6 +373,9 @@ static int em2820_i2c_eeprom(struct em2820 *dev, unsigned char *eedata, int len)
printk(KERN_INFO "200mA max power\n");
break;
}
+ printk(KERN_INFO "Table at 0x%02x, strings=0x%04x, 0x%04x, 0x%04x\n",
+ em_eeprom->string_idx_table,em_eeprom->string1,
+ em_eeprom->string2,em_eeprom->string3);
return 0;
}
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index 51c34edfb..19088890d 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -1810,7 +1810,7 @@ static int em2820_init_dev(struct em2820 **devhandle, struct usb_device *udev,
#ifdef CONFIG_MODULES
/* request some modules */
if (dev->decoder == EM2820_SAA7113 || dev->decoder == EM2820_SAA7114)
- request_module("saa7113");
+ request_module("saa711x");
if (dev->decoder == EM2820_TVP5150)
request_module("tvp5150");
if (dev->has_tuner)
@@ -1932,14 +1932,20 @@ static int em2820_usb_probe(struct usb_interface *interface,
udev = usb_get_dev(interface_to_usbdev(interface));
ifnum = interface->altsetting[0].desc.bInterfaceNumber;
- em2820_err(DRIVER_NAME " new device (%04x:%04x): interface %i, class %i\n",
- udev->descriptor.idVendor,udev->descriptor.idProduct,
- ifnum,
- interface->altsetting[0].desc.bInterfaceClass);
/* Don't register audio interfaces */
- if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO)
+ if (interface->altsetting[0].desc.bInterfaceClass == USB_CLASS_AUDIO) {
+ em2820_err(DRIVER_NAME " audio device (%04x:%04x): interface %i, class %i\n",
+ udev->descriptor.idVendor,udev->descriptor.idProduct,
+ ifnum,
+ interface->altsetting[0].desc.bInterfaceClass);
return -ENODEV;
+ }
+
+ em2820_err(DRIVER_NAME " new video device (%04x:%04x): interface %i, class %i\n",
+ udev->descriptor.idVendor,udev->descriptor.idProduct,
+ ifnum,
+ interface->altsetting[0].desc.bInterfaceClass);
endpoint = &interface->cur_altsetting->endpoint[1].desc;