summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx-audio.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-26 16:41:03 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 08:11:48 +0100
commit9634614f35ec17a4af8660c025122b477dad7d0b (patch)
treecc05068fbb0cbfff79b99636a3f89b3549770c77 /drivers/media/usb/em28xx/em28xx-audio.c
parent[media] em28xx: make em28xx-video to be a separate module (diff)
downloadlinux-9634614f35ec17a4af8660c025122b477dad7d0b.tar.xz
linux-9634614f35ec17a4af8660c025122b477dad7d0b.zip
[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.c4
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)
return 0;
}
- printk(KERN_INFO "em28xx-audio.c: probing for em28xx Audio Vendor Class\n");
+ em28xx_info("Binding audio extension\n");
+
printk(KERN_INFO "em28xx-audio.c: Copyright (C) 2006 Markus "
"Rechberger\n");
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)
adev->sndcard = card;
adev->udev = dev->udev;
+ em28xx_info("Audio extension successfully initialized\n");
return 0;
}