[DVB patch 05/48] mt352: Pinnacle 300i comments

From: Johannes Stezenbach
Date: Mon Mar 21 2005 - 22:57:52 EST


Comment preliminary Pinnacle 300i changes to the mt352 driver.

Signed-off-by: Johannes Stezenbach <js@xxxxxxxxxxx>

mt352.c | 4 ++++
1 files changed, 4 insertions(+)

Index: linux-2.6.12-rc1-mm1/drivers/media/dvb/frontends/mt352.c
===================================================================
--- linux-2.6.12-rc1-mm1.orig/drivers/media/dvb/frontends/mt352.c 2005-03-21 23:27:59.000000000 +0100
+++ linux-2.6.12-rc1-mm1/drivers/media/dvb/frontends/mt352.c 2005-03-22 00:14:46.000000000 +0100
@@ -294,6 +294,8 @@ static int mt352_set_parameters(struct d
state->config->pll_set(fe, param, buf+8);

#if 0 /* FIXME: should be catched elsewhere ... */
+ /* this dubious code which helped on some cards does not work for
+ * the pinnacle 300i */
/* Only send the tuning request if the tuner doesn't have the requested
* parameters already set. Enhances tuning time and prevents stream
* breakup when retuning the same transponder. */
@@ -435,6 +437,8 @@ static int mt352_read_status(struct dvb_
{
struct mt352_state* state = (struct mt352_state*) fe->demodulator_priv;
#if 1
+ /* the pinnacle 300i loses lock if the STATUS_x registers
+ * are polled too often... */
int val;

if (0 != mt352_read_register(state, INTERRUPT_0)) {

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/