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>
return 0;
}
+ em28xx_info("Closing audio extension");
+
snd_card_disconnect(dev->adev.sndcard);
em28xx_audio_free_urb(dev);
return 0;
}
+ em28xx_info("Closing DVB extension");
+
if (dev->dvb) {
struct em28xx_dvb *dvb = dev->dvb;
return 0;
}
+ em28xx_info("Closing input extension");
+
em28xx_shutdown_buttons(dev);
/* skip detach on non attached boards */
return 0;
}
+ em28xx_info("Closing video extension");
+
v4l2_device_disconnect(&dev->v4l2_dev);
em28xx_uninit_usb_xfer(dev, EM28XX_ANALOG_MODE);