V4L/DVB (6645): xc2028: allow selection of D2633 firmware
Add a bit to select D2633 DTV firmware to struct xc2028_ctrl, so that it can be enabled via .set_config. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
d7b22c5cfe
commit
59a636e50f
@ -665,9 +665,10 @@ static int check_firmware(struct dvb_frontend *fe, enum tuner_mode new_mode,
|
|||||||
tuner_dbg("I should change bandwidth %u\n", change_digital_bandwidth);
|
tuner_dbg("I should change bandwidth %u\n", change_digital_bandwidth);
|
||||||
|
|
||||||
if (change_digital_bandwidth) {
|
if (change_digital_bandwidth) {
|
||||||
|
if (priv->ctrl.d2633)
|
||||||
/*FIXME: Should allow selecting between D2620 and D2633 */
|
type |= D2633;
|
||||||
type |= D2620;
|
else
|
||||||
|
type |= D2620;
|
||||||
|
|
||||||
/* FIXME: When should select a DTV78 firmware?
|
/* FIXME: When should select a DTV78 firmware?
|
||||||
*/
|
*/
|
||||||
|
@ -20,6 +20,7 @@ struct xc2028_ctrl {
|
|||||||
enum xc2028_firm_type type;
|
enum xc2028_firm_type type;
|
||||||
char *fname;
|
char *fname;
|
||||||
int max_len;
|
int max_len;
|
||||||
|
int d2633:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct xc2028_config {
|
struct xc2028_config {
|
||||||
|
Loading…
Reference in New Issue
Block a user