diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-26 10:41:03 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 02:11:48 -0500 |
commit | 9634614f35ec17a4af8660c025122b477dad7d0b (patch) | |
tree | cc05068fbb0cbfff79b99636a3f89b3549770c77 /drivers/media/usb/em28xx/em28xx-audio.c | |
parent | 01c2819330b1e0ec6b53dcfac76ad75ff2c8ba4f (diff) |
[media] em28xx: improve extension information messages
Add a message with consistent prints before and after each
extension initialization, and provide a better text for module
load.
While here, add a missing sanity check for extension finish
code at em28xx-v4l extension.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-audio.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-audio.c | 4 |
1 files changed, 3 insertions, 1 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 | ||