Name

dvb_frontend_detach — Detaches and frees frontend specific data

Synopsis

void dvb_frontend_detach (struct dvb_frontend * fe);
 

Arguments

fe

pointer to the frontend struct

Description

This function should be called after dvb_unregister_frontend. It calls the SEC, tuner and demod release functions: dvb_frontend_ops.release_sec, dvb_frontend_ops.tuner_ops.release, dvb_frontend_ops.analog_ops.release and dvb_frontend_ops.release.

If the driver is compiled with CONFIG_MEDIA_ATTACH, it also decreases the module reference count, needed to allow userspace to remove the previously used DVB frontend modules.