- Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
}
/* add subdevices */
- if (btv->has_remote)
- bttv_sub_add_device(&btv->c, "remote");
if (bttv_tvcards[btv->c.type].has_dvb)
bttv_sub_add_device(&btv->c, "dvb");
btv->shutdown=1;
wake_up(&btv->gpioq);
bttv_input_fini(btv);
- //bttv_sub_del_devices(&btv->c);
+ bttv_sub_del_devices(&btv->c);
/* unregister i2c_bus + input */
fini_bttv_i2c(btv);