summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-12 19:22:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-14 14:38:11 -0200
commitaa929ad783c0762f276c8c810f1c7f00b12dca4a (patch)
treeb8bad4c0868442169e4a1090ba2d3013071e04b3 /drivers/media/usb/em28xx/em28xx-input.c
parent1fe2e3bff4f862d971207c846e4df61160c0e858 (diff)
downloadlinux-aa929ad783c0762f276c8c810f1c7f00b12dca4a.tar.bz2
[media] em28xx: print a message at disconnect
That helps to identify if something fails and explain why em28xx struct is not freed (if it ever happens). Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com> Tested-by: Antti Palosaari <crope@iki.fi> 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c
index 61c061f3a476..18f65d89d4bc 100644
--- a/drivers/media/usb/em28xx/em28xx-input.c
+++ b/drivers/media/usb/em28xx/em28xx-input.c
@@ -810,6 +810,8 @@ static int em28xx_ir_fini(struct em28xx *dev)
return 0;
}
+ em28xx_info("Closing input extension");
+
em28xx_shutdown_buttons(dev);
/* skip detach on non attached boards */