diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2011-09-06 08:31:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-06 13:21:42 -0400 |
commit | 77eed219fed5a913f59329cc846420fdeab0150f (patch) | |
tree | abcbcb0a970fb7b81efb11e229151adce78e166b /drivers/media/dvb/dvb-usb/dibusb-mc.c | |
parent | 4c66c9205c0788e18eb09d482461aa2f551ee046 (diff) |
[media] dvb-usb: refactor MFE code for individual streaming config per frontend
refactor MFE code to allow for individual streaming configuration
for each frontend
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dibusb-mc.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-mc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mc.c b/drivers/media/dvb/dvb-usb/dibusb-mc.c index c1d9094b61e5..9c165e2569d4 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-mc.c +++ b/drivers/media/dvb/dvb-usb/dibusb-mc.c | |||
@@ -57,6 +57,8 @@ static struct dvb_usb_device_properties dibusb_mc_properties = { | |||
57 | .num_adapters = 1, | 57 | .num_adapters = 1, |
58 | .adapter = { | 58 | .adapter = { |
59 | { | 59 | { |
60 | .num_frontends = 1, | ||
61 | .fe = {{ | ||
60 | .caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF, | 62 | .caps = DVB_USB_ADAP_HAS_PID_FILTER | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF, |
61 | .pid_filter_count = 32, | 63 | .pid_filter_count = 32, |
62 | .streaming_ctrl = dibusb2_0_streaming_ctrl, | 64 | .streaming_ctrl = dibusb2_0_streaming_ctrl, |
@@ -76,6 +78,7 @@ static struct dvb_usb_device_properties dibusb_mc_properties = { | |||
76 | } | 78 | } |
77 | } | 79 | } |
78 | }, | 80 | }, |
81 | }}, | ||
79 | .size_of_priv = sizeof(struct dibusb_state), | 82 | .size_of_priv = sizeof(struct dibusb_state), |
80 | } | 83 | } |
81 | }, | 84 | }, |