[media] TeVii DVB-S s421 and s632 cards support, rs2000 part
authorIgor M. Liplianin <liplianin@me.by>
Tue, 8 May 2012 07:08:04 +0000 (04:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 22:23:26 +0000 (20:23 -0200)
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>
drivers/media/dvb-frontends/m88rs2000.c

index 633815ed90ca7262641185cdd17b2224079a3316..5d3d5dd62daafb42991a2e219100ebd51bd15321 100644 (file)
@@ -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;
 }