Commit f9d0bc1c authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] tda18271: add DVB-C support

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e0bae9b3
...@@ -976,6 +976,10 @@ static int tda18271_set_params(struct dvb_frontend *fe, ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment