FM1216ME_MK3 AUX byte for FM mode

Message ID 20090423154046.7b54f7cc@glory.loctelecom.ru (mailing list archive)
State Accepted, archived
Headers

Commit Message

Dmitri Belimov April 23, 2009, 5:40 a.m. UTC
  Hi All

Write AUX byte to FM1216ME_MK3 when FM mode, better sensitivity. It can be
usefull for other tuners.

Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>


With my best regards, Dmitry.
  

Comments

Mauro Carvalho Chehab Sept. 18, 2011, 12:44 p.m. UTC | #1
Hi Dmitri,

Em 23-04-2009 02:40, Dmitri Belimov escreveu:
> Hi All
> 
> Write AUX byte to FM1216ME_MK3 when FM mode, better sensitivity. It can be
> usefull for other tuners.

Hmm... Found this patch. It were never applied, but it may make some sense
to apply it.

Could you please double-check if this patch is still valid, and, if so, re-send it
to me?

Thanks!
Mauro


> 
> diff -r 00a84f86671d linux/drivers/media/common/tuners/tuner-simple.c
> --- a/linux/drivers/media/common/tuners/tuner-simple.c	Mon Apr 20 22:07:44 2009 +0000
> +++ b/linux/drivers/media/common/tuners/tuner-simple.c	Thu Apr 23 10:26:54 2009 +1000
> @@ -751,6 +751,17 @@
>  	if (4 != rc)
>  		tuner_warn("i2c i/o error: rc == %d (should be 4)\n", rc);
>  
> +	/* Write AUX byte */
> +	switch (priv->type) {
> +	case TUNER_PHILIPS_FM1216ME_MK3:
> +		buffer[2] = 0x98;
> +		buffer[3] = 0x20; /* set TOP AGC */
> +		rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4);
> +		if (4 != rc)
> +			tuner_warn("i2c i/o error: rc == %d (should be 4)\n", rc);
> +		break;
> +	}
> +
>  	return 0;
>  }
>  
> Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
> 
> 
> With my best regards, Dmitry.

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Dmitri Belimov Sept. 20, 2011, 7:46 a.m. UTC | #2
Hi Mauro

Sure. I'll do it ASAP

With my best regards, Dmitry.

> Hi Dmitri,
> 
> Em 23-04-2009 02:40, Dmitri Belimov escreveu:
> > Hi All
> > 
> > Write AUX byte to FM1216ME_MK3 when FM mode, better sensitivity. It
> > can be usefull for other tuners.
> 
> Hmm... Found this patch. It were never applied, but it may make some
> sense to apply it.
> 
> Could you please double-check if this patch is still valid, and, if
> so, re-send it to me?
> 
> Thanks!
> Mauro
> 
> 
> > 
> > diff -r 00a84f86671d
> > linux/drivers/media/common/tuners/tuner-simple.c ---
> > a/linux/drivers/media/common/tuners/tuner-simple.c	Mon Apr
> > 20 22:07:44 2009 +0000 +++
> > b/linux/drivers/media/common/tuners/tuner-simple.c	Thu Apr
> > 23 10:26:54 2009 +1000 @@ -751,6 +751,17 @@ if (4 != rc)
> > tuner_warn("i2c i/o error: rc == %d (should be 4)\n", rc); 
> > +	/* Write AUX byte */
> > +	switch (priv->type) {
> > +	case TUNER_PHILIPS_FM1216ME_MK3:
> > +		buffer[2] = 0x98;
> > +		buffer[3] = 0x20; /* set TOP AGC */
> > +		rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer,
> > 4);
> > +		if (4 != rc)
> > +			tuner_warn("i2c i/o error: rc == %d
> > (should be 4)\n", rc);
> > +		break;
> > +	}
> > +
> >  	return 0;
> >  }
> >  
> > Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov
> > <d.belimov@gmail.com>
> > 
> > 
> > With my best regards, Dmitry.
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff -r 00a84f86671d linux/drivers/media/common/tuners/tuner-simple.c
--- a/linux/drivers/media/common/tuners/tuner-simple.c	Mon Apr 20 22:07:44 2009 +0000
+++ b/linux/drivers/media/common/tuners/tuner-simple.c	Thu Apr 23 10:26:54 2009 +1000
@@ -751,6 +751,17 @@ 
 	if (4 != rc)
 		tuner_warn("i2c i/o error: rc == %d (should be 4)\n", rc);
 
+	/* Write AUX byte */
+	switch (priv->type) {
+	case TUNER_PHILIPS_FM1216ME_MK3:
+		buffer[2] = 0x98;
+		buffer[3] = 0x20; /* set TOP AGC */
+		rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4);
+		if (4 != rc)
+			tuner_warn("i2c i/o error: rc == %d (should be 4)\n", rc);
+		break;
+	}
+
 	return 0;
 }
 
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>