Skip to content

Commit

Permalink
[media] FM1216ME_MK3 AUX byte for FM mode
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Dmitri Belimov authored and Mauro Carvalho Chehab committed Nov 7, 2011
1 parent 9c900f0 commit fabade5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/media/common/tuners/tuner-simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,17 @@ static int simple_set_radio_freq(struct dvb_frontend *fe,
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;
}

Expand Down

0 comments on commit fabade5

Please sign in to comment.