Move USB stream properties from frontend to adapter.
It is property of adapter.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
int (*frontend_attach) (struct dvb_usb_adapter *);
int (*tuner_attach) (struct dvb_usb_adapter *);
- struct usb_data_stream_properties stream;
-
int size_of_priv;
};
int num_frontends;
struct dvb_usb_adapter_fe_properties fe[MAX_NO_OF_FE_PER_ADAP];
+ struct usb_data_stream_properties stream;
};
/**
if (ret < 0)
return ret;
} else {
- stream_props = adap->props.fe[0].stream;
+ stream_props = adap->props.stream;
}
/* FIXME: can be removed as set later in anyway */
if (ret < 0)
return ret;
} else {
- stream_props = adap->props.fe[adap->active_fe].stream;
+ stream_props = adap->props.stream;
}
deb_ts("submitting all URBs\n");