[media] tda18271: add DVB-C support
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
e0bae9b33a
commit
f9d0bc1c08
1 changed files with 4 additions and 0 deletions
|
@ -976,6 +976,10 @@ static int tda18271_set_params(struct dvb_frontend *fe,
|
||||||
tda_warn("bandwidth not set!\n");
|
tda_warn("bandwidth not set!\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
} else if (fe->ops.info.type == FE_QAM) {
|
||||||
|
/* DVB-C */
|
||||||
|
map = &std_map->qam_8;
|
||||||
|
bw = 8000000;
|
||||||
} else {
|
} else {
|
||||||
tda_warn("modulation type not supported!\n");
|
tda_warn("modulation type not supported!\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue