diff options
author | Igor M. Liplianin <liplianin@me.by> | 2012-05-08 09:08:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-27 23:23:26 +0100 |
commit | 081416e62d516a6412225751c9c4a3807b2374b9 (patch) | |
tree | 1c714d214e4b249863972aa63f293b0f272fcef3 /drivers/media/dvb-frontends/m88rs2000.c | |
parent | [media] TeVii DVB-S s421 and s632 cards support (diff) | |
download | linux-081416e62d516a6412225751c9c4a3807b2374b9.tar.xz linux-081416e62d516a6412225751c9c4a3807b2374b9.zip |
[media] TeVii DVB-S s421 and s632 cards support, rs2000 part
One register needs to be changed to TS to work. So we use separate inittab.
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Acked-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/dvb-frontends/m88rs2000.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/m88rs2000.c b/drivers/media/dvb-frontends/m88rs2000.c index 633815ed90ca..5d3d5dd62daa 100644 --- a/drivers/media/dvb-frontends/m88rs2000.c +++ b/drivers/media/dvb-frontends/m88rs2000.c @@ -458,7 +458,11 @@ static int m88rs2000_init(struct dvb_frontend *fe) deb_info("m88rs2000: init chip\n"); /* Setup frontend from shutdown/cold */ - ret = m88rs2000_tab_set(state, m88rs2000_setup); + if (state->config->inittab) + ret = m88rs2000_tab_set(state, + (struct inittab *)state->config->inittab); + else + ret = m88rs2000_tab_set(state, m88rs2000_setup); return ret; } |