diff options
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 82da205047be..25100001ffff 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -2285,7 +2285,7 @@ void em28xx_register_i2c_ir(struct em28xx *dev) | |||
2285 | dev->init_data.name = "i2c IR (EM28XX Pinnacle PCTV)"; | 2285 | dev->init_data.name = "i2c IR (EM28XX Pinnacle PCTV)"; |
2286 | break; | 2286 | break; |
2287 | case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2: | 2287 | case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2: |
2288 | dev->init_data.ir_codes = &ir_codes_hauppauge_new_table; | 2288 | dev->init_data.ir_codes = &ir_codes_rc5_hauppauge_new_table; |
2289 | dev->init_data.get_key = em28xx_get_key_em_haup; | 2289 | dev->init_data.get_key = em28xx_get_key_em_haup; |
2290 | dev->init_data.name = "i2c IR (EM2840 Hauppauge)"; | 2290 | dev->init_data.name = "i2c IR (EM2840 Hauppauge)"; |
2291 | break; | 2291 | break; |
@@ -2653,7 +2653,6 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev, | |||
2653 | INIT_LIST_HEAD(&dev->vbiq.active); | 2653 | INIT_LIST_HEAD(&dev->vbiq.active); |
2654 | INIT_LIST_HEAD(&dev->vbiq.queued); | 2654 | INIT_LIST_HEAD(&dev->vbiq.queued); |
2655 | 2655 | ||
2656 | |||
2657 | if (dev->board.has_msp34xx) { | 2656 | if (dev->board.has_msp34xx) { |
2658 | /* Send a reset to other chips via gpio */ | 2657 | /* Send a reset to other chips via gpio */ |
2659 | errCode = em28xx_write_reg(dev, EM28XX_R08_GPIO, 0xf7); | 2658 | errCode = em28xx_write_reg(dev, EM28XX_R08_GPIO, 0xf7); |
@@ -2923,9 +2922,9 @@ static void em28xx_usb_disconnect(struct usb_interface *interface) | |||
2923 | 2922 | ||
2924 | if (dev->users) { | 2923 | if (dev->users) { |
2925 | em28xx_warn | 2924 | em28xx_warn |
2926 | ("device /dev/video%d is open! Deregistration and memory " | 2925 | ("device %s is open! Deregistration and memory " |
2927 | "deallocation are deferred on close.\n", | 2926 | "deallocation are deferred on close.\n", |
2928 | dev->vdev->num); | 2927 | video_device_node_name(dev->vdev)); |
2929 | 2928 | ||
2930 | dev->state |= DEV_MISCONFIGURED; | 2929 | dev->state |= DEV_MISCONFIGURED; |
2931 | em28xx_uninit_isoc(dev); | 2930 | em28xx_uninit_isoc(dev); |