summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-26 12:41:03 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 05:11:48 -0200
commit9634614f35ec17a4af8660c025122b477dad7d0b (patch)
treecc05068fbb0cbfff79b99636a3f89b3549770c77 /drivers/media/usb/em28xx/em28xx-input.c
parent01c2819330b1e0ec6b53dcfac76ad75ff2c8ba4f (diff)
downloadtalos-obmc-linux-9634614f35ec17a4af8660c025122b477dad7d0b.tar.gz
talos-obmc-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-input.c')
-rw-r--r--drivers/media/usb/em28xx/em28xx-input.c4
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)
return 0;
}
+ em28xx_info("Registering input extension\n");
+
ir = kzalloc(sizeof(*ir), GFP_KERNEL);
rc = rc_allocate_device();
if (!ir || !rc)
@@ -785,6 +787,8 @@ static int em28xx_ir_init(struct em28xx *dev)
if (err)
goto error;
+ em28xx_info("Input extension successfully initalized\n");
+
return 0;
error:
OpenPOWER on IntegriCloud