diff options
author | Antti Palosaari | 2012-05-25 03:18:37 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-08-04 12:56:22 +0200 |
commit | 43402bbde52e96f950994bc55700814db8d5bc81 (patch) | |
tree | 991ee44b56f8ad9ee4e9ad98a07bfebb31002d52 /drivers/media/dvb/dvb-usb/dvb_usb.h | |
parent | [media] dvb_usb_v2: implement .get_adapter_count() (diff) | |
download | kernel-qcow2-linux-43402bbde52e96f950994bc55700814db8d5bc81.tar.gz kernel-qcow2-linux-43402bbde52e96f950994bc55700814db8d5bc81.tar.xz kernel-qcow2-linux-43402bbde52e96f950994bc55700814db8d5bc81.zip |
[media] dvb_usb_v2: implement .read_config()
That callback is called only once when device is connected.
Call is done after the possible firmware is downloaded to the device,
just after the .power_ctrl() and before adapters are created.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb_usb.h')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb_usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb_usb.h b/drivers/media/dvb/dvb-usb/dvb_usb.h index a3cc557298b4..8ddae58e8e72 100644 --- a/drivers/media/dvb/dvb-usb/dvb_usb.h +++ b/drivers/media/dvb/dvb-usb/dvb_usb.h @@ -275,6 +275,7 @@ struct dvb_usb_device_properties { struct dvb_usb_adapter_properties adapter[MAX_NO_OF_ADAPTER_PER_DEVICE]; int (*power_ctrl) (struct dvb_usb_device *, int); + int (*read_config) (struct dvb_usb_device *d); int (*read_mac_address) (struct dvb_usb_device *, u8 []); #define WARM 0 |