diff options
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-audio.c | 4 | ||||
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-core.c | 2 | ||||
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-dvb.c | 7 | ||||
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-input.c | 4 | ||||
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-video.c | 5 |
5 files changed, 15 insertions, 7 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-audio.c b/drivers/media/usb/em28xx/em28xx-audio.c index 2fdb66ee44ab..263886adcf26 100644 --- a/drivers/media/usb/em28xx/em28xx-audio.c +++ b/drivers/media/usb/em28xx/em28xx-audio.c | |||
@@ -649,7 +649,8 @@ static int em28xx_audio_init(struct em28xx *dev) | |||
649 | return 0; | 649 | return 0; |
650 | } | 650 | } |
651 | 651 | ||
652 | printk(KERN_INFO "em28xx-audio.c: probing for em28xx Audio Vendor Class\n"); | 652 | em28xx_info("Binding audio extension\n"); |
653 | |||
653 | printk(KERN_INFO "em28xx-audio.c: Copyright (C) 2006 Markus " | 654 | printk(KERN_INFO "em28xx-audio.c: Copyright (C) 2006 Markus " |
654 | "Rechberger\n"); | 655 | "Rechberger\n"); |
655 | printk(KERN_INFO "em28xx-audio.c: Copyright (C) 2007-2011 Mauro Carvalho Chehab\n"); | 656 | printk(KERN_INFO "em28xx-audio.c: Copyright (C) 2007-2011 Mauro Carvalho Chehab\n"); |
@@ -702,6 +703,7 @@ static int em28xx_audio_init(struct em28xx *dev) | |||
702 | adev->sndcard = card; | 703 | adev->sndcard = card; |
703 | adev->udev = dev->udev; | 704 | adev->udev = dev->udev; |
704 | 705 | ||
706 | em28xx_info("Audio extension successfully initialized\n"); | ||
705 | return 0; | 707 | return 0; |
706 | } | 708 | } |
707 | 709 | ||
diff --git a/drivers/media/usb/em28xx/em28xx-core.c b/drivers/media/usb/em28xx/em28xx-core.c index c416dd33af3f..b810641e48fe 100644 --- a/drivers/media/usb/em28xx/em28xx-core.c +++ b/drivers/media/usb/em28xx/em28xx-core.c | |||
@@ -1069,7 +1069,7 @@ int em28xx_register_extension(struct em28xx_ops *ops) | |||
1069 | ops->init(dev); | 1069 | ops->init(dev); |
1070 | } | 1070 | } |
1071 | mutex_unlock(&em28xx_devlist_mutex); | 1071 | mutex_unlock(&em28xx_devlist_mutex); |
1072 | printk(KERN_INFO "Em28xx: Initialized (%s) extension\n", ops->name); | 1072 | printk(KERN_INFO "em28xx: Registered (%s) extension\n", ops->name); |
1073 | return 0; | 1073 | return 0; |
1074 | } | 1074 | } |
1075 | EXPORT_SYMBOL(em28xx_register_extension); | 1075 | EXPORT_SYMBOL(em28xx_register_extension); |
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index ddc0e609065d..f72663a9b5c5 100644 --- a/drivers/media/usb/em28xx/em28xx-dvb.c +++ b/drivers/media/usb/em28xx/em28xx-dvb.c | |||
@@ -274,7 +274,7 @@ static int em28xx_stop_feed(struct dvb_demux_feed *feed) | |||
274 | static int em28xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) | 274 | static int em28xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) |
275 | { | 275 | { |
276 | struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; | 276 | struct em28xx_i2c_bus *i2c_bus = fe->dvb->priv; |
277 | struct em28xx *dev = i2c_bus->dev; | 277 | struct em28xx *dev = i2c_bus->dev; |
278 | 278 | ||
279 | if (acquire) | 279 | if (acquire) |
280 | return em28xx_set_mode(dev, EM28XX_DIGITAL_MODE); | 280 | return em28xx_set_mode(dev, EM28XX_DIGITAL_MODE); |
@@ -992,10 +992,11 @@ static int em28xx_dvb_init(struct em28xx *dev) | |||
992 | 992 | ||
993 | if (!dev->board.has_dvb) { | 993 | if (!dev->board.has_dvb) { |
994 | /* This device does not support the extension */ | 994 | /* This device does not support the extension */ |
995 | printk(KERN_INFO "em28xx_dvb: This device does not support the extension\n"); | ||
996 | return 0; | 995 | return 0; |
997 | } | 996 | } |
998 | 997 | ||
998 | em28xx_info("Binding DVB extension\n"); | ||
999 | |||
999 | dvb = kzalloc(sizeof(struct em28xx_dvb), GFP_KERNEL); | 1000 | dvb = kzalloc(sizeof(struct em28xx_dvb), GFP_KERNEL); |
1000 | 1001 | ||
1001 | if (dvb == NULL) { | 1002 | if (dvb == NULL) { |
@@ -1407,7 +1408,7 @@ static int em28xx_dvb_init(struct em28xx *dev) | |||
1407 | /* MFE lock */ | 1408 | /* MFE lock */ |
1408 | dvb->adapter.mfe_shared = mfe_shared; | 1409 | dvb->adapter.mfe_shared = mfe_shared; |
1409 | 1410 | ||
1410 | em28xx_info("Successfully loaded em28xx-dvb\n"); | 1411 | em28xx_info("DVB extension successfully initialized\n"); |
1411 | ret: | 1412 | ret: |
1412 | em28xx_set_mode(dev, EM28XX_SUSPEND); | 1413 | em28xx_set_mode(dev, EM28XX_SUSPEND); |
1413 | mutex_unlock(&dev->lock); | 1414 | mutex_unlock(&dev->lock); |
diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c index 93a7d02b9cb4..eed7dd79f734 100644 --- a/drivers/media/usb/em28xx/em28xx-input.c +++ b/drivers/media/usb/em28xx/em28xx-input.c | |||
@@ -692,6 +692,8 @@ static int em28xx_ir_init(struct em28xx *dev) | |||
692 | return 0; | 692 | return 0; |
693 | } | 693 | } |
694 | 694 | ||
695 | em28xx_info("Registering input extension\n"); | ||
696 | |||
695 | ir = kzalloc(sizeof(*ir), GFP_KERNEL); | 697 | ir = kzalloc(sizeof(*ir), GFP_KERNEL); |
696 | rc = rc_allocate_device(); | 698 | rc = rc_allocate_device(); |
697 | if (!ir || !rc) | 699 | if (!ir || !rc) |
@@ -785,6 +787,8 @@ static int em28xx_ir_init(struct em28xx *dev) | |||
785 | if (err) | 787 | if (err) |
786 | goto error; | 788 | goto error; |
787 | 789 | ||
790 | em28xx_info("Input extension successfully initalized\n"); | ||
791 | |||
788 | return 0; | 792 | return 0; |
789 | 793 | ||
790 | error: | 794 | error: |
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 7d11a16e72b5..ada133cf8e43 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/drivers/media/usb/em28xx/em28xx-video.c | |||
@@ -2216,8 +2216,7 @@ static int em28xx_v4l2_init(struct em28xx *dev) | |||
2216 | return 0; | 2216 | return 0; |
2217 | } | 2217 | } |
2218 | 2218 | ||
2219 | printk(KERN_INFO "%s: v4l2 driver version %s\n", | 2219 | em28xx_info("Registering V4L2 extension\n"); |
2220 | dev->name, EM28XX_VERSION); | ||
2221 | 2220 | ||
2222 | mutex_lock(&dev->lock); | 2221 | mutex_lock(&dev->lock); |
2223 | 2222 | ||
@@ -2499,6 +2498,8 @@ static int em28xx_v4l2_init(struct em28xx *dev) | |||
2499 | /* initialize videobuf2 stuff */ | 2498 | /* initialize videobuf2 stuff */ |
2500 | em28xx_vb2_setup(dev); | 2499 | em28xx_vb2_setup(dev); |
2501 | 2500 | ||
2501 | em28xx_info("V4L2 extension successfully initialized\n"); | ||
2502 | |||
2502 | mutex_unlock(&dev->lock); | 2503 | mutex_unlock(&dev->lock); |
2503 | return 0; | 2504 | return 0; |
2504 | 2505 | ||