* [PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part
@ 2012-05-08 8:08 Igor M. Liplianin
2012-05-08 23:35 ` Malcolm Priestley
0 siblings, 1 reply; 2+ messages in thread
From: Igor M. Liplianin @ 2012-05-08 8:08 UTC (permalink / raw)
To: linux-media; +Cc: Mauro Carvalho Chehab, Malcolm Priestley
[-- Attachment #1: Type: text/plain, Size: 128 bytes --]
One register needs to be changed to TS to work. So we use separate inittab.
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
[-- Attachment #2: rs2000dw2102.patch --]
[-- Type: text/x-patch, Size: 612 bytes --]
diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers/media/dvb/frontends/m88rs2000.c
index 045ee5a..547230d 100644
--- a/drivers/media/dvb/frontends/m88rs2000.c
+++ b/drivers/media/dvb/frontends/m88rs2000.c
@@ -442,7 +442,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;
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part
2012-05-08 8:08 [PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part Igor M. Liplianin
@ 2012-05-08 23:35 ` Malcolm Priestley
0 siblings, 0 replies; 2+ messages in thread
From: Malcolm Priestley @ 2012-05-08 23:35 UTC (permalink / raw)
To: Igor M. Liplianin; +Cc: linux-media, Mauro Carvalho Chehab
On Tue, 2012-05-08 at 11:08 +0300, Igor M. Liplianin wrote:
> 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>
differences between files attachment (rs2000dw2102.patch)
> diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers/media/dvb/frontends/m88rs2000.c
> index 045ee5a..547230d 100644
> --- a/drivers/media/dvb/frontends/m88rs2000.c
> +++ b/drivers/media/dvb/frontends/m88rs2000.c
> @@ -442,7 +442,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;
> }
Regards
Malcolm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-08 23:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-08 8:08 [PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part Igor M. Liplianin
2012-05-08 23:35 ` Malcolm Priestley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.