aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/dvb_usb.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-09-04 16:04:44 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 18:48:30 -0400
commitca42129f867fbc427d709408b3ae35988cc08ed4 (patch)
treeed60d8d97185118da381806316e1a1508775d0d0 /drivers/media/usb/dvb-usb-v2/dvb_usb.h
parentef2fb46b6d7ed9df5906a3c76c9c4673355cd339 (diff)
[media] dvb-usb-v2: add frontend_detach callback
Add frontend_detach callback in order to allow custom detach. It is needed when demod driver is implemented I2C client or some other kernel bus, but not proprietary dvb_attach / dvb_detach. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/dvb_usb.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/dvb_usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvb_usb.h b/drivers/media/usb/dvb-usb-v2/dvb_usb.h
index 124b4baa7e97..7e36ee02f957 100644
--- a/drivers/media/usb/dvb-usb-v2/dvb_usb.h
+++ b/drivers/media/usb/dvb-usb-v2/dvb_usb.h
@@ -214,6 +214,7 @@ struct dvb_usb_adapter_properties {
214 * @read_config: called to resolve device configuration 214 * @read_config: called to resolve device configuration
215 * @read_mac_address: called to resolve adapter mac-address 215 * @read_mac_address: called to resolve adapter mac-address
216 * @frontend_attach: called to attach the possible frontends 216 * @frontend_attach: called to attach the possible frontends
217 * @frontend_detach: called to detach the possible frontends
217 * @tuner_attach: called to attach the possible tuners 218 * @tuner_attach: called to attach the possible tuners
218 * @frontend_ctrl: called to power on/off active frontend 219 * @frontend_ctrl: called to power on/off active frontend
219 * @streaming_ctrl: called to start/stop the usb streaming of adapter 220 * @streaming_ctrl: called to start/stop the usb streaming of adapter
@@ -254,6 +255,7 @@ struct dvb_usb_device_properties {
254 int (*read_config) (struct dvb_usb_device *d); 255 int (*read_config) (struct dvb_usb_device *d);
255 int (*read_mac_address) (struct dvb_usb_adapter *, u8 []); 256 int (*read_mac_address) (struct dvb_usb_adapter *, u8 []);
256 int (*frontend_attach) (struct dvb_usb_adapter *); 257 int (*frontend_attach) (struct dvb_usb_adapter *);
258 int (*frontend_detach)(struct dvb_usb_adapter *);
257 int (*tuner_attach) (struct dvb_usb_adapter *); 259 int (*tuner_attach) (struct dvb_usb_adapter *);
258 int (*frontend_ctrl) (struct dvb_frontend *, int); 260 int (*frontend_ctrl) (struct dvb_frontend *, int);
259 int (*streaming_ctrl) (struct dvb_frontend *, int); 261 int (*streaming_ctrl) (struct dvb_frontend *, int);