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-input.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-input.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-input.c | 4 |
1 files changed, 4 insertions, 0 deletions
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: |