diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-12 17:22:07 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-14 11:38:11 -0500 |
commit | aa929ad783c0762f276c8c810f1c7f00b12dca4a (patch) | |
tree | b8bad4c0868442169e4a1090ba2d3013071e04b3 /drivers/media/usb/em28xx/em28xx-audio.c | |
parent | 1fe2e3bff4f862d971207c846e4df61160c0e858 (diff) |
[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-audio.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-audio.c b/drivers/media/usb/em28xx/em28xx-audio.c index 7f762db94b5f..26cf431b1a46 100644 --- a/drivers/media/usb/em28xx/em28xx-audio.c +++ b/drivers/media/usb/em28xx/em28xx-audio.c | |||
@@ -956,6 +956,8 @@ static int em28xx_audio_fini(struct em28xx *dev) | |||
956 | return 0; | 956 | return 0; |
957 | } | 957 | } |
958 | 958 | ||
959 | em28xx_info("Closing audio extension"); | ||
960 | |||
959 | snd_card_disconnect(dev->adev.sndcard); | 961 | snd_card_disconnect(dev->adev.sndcard); |
960 | em28xx_audio_free_urb(dev); | 962 | em28xx_audio_free_urb(dev); |
961 | 963 | ||