tda8290.c (5b0e5350cecb5a370ecdaa71ac113728e36e1d55) tda8290.c (1bacb2df3bc999dcad21e9aab6bdb60d6dc7bc02)
1/*
2
3 i2c tv tuner chip device driver
4 controls the philips tda8290+75 tuner chip combo.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or

--- 482 unchanged lines hidden (view full) ---

491static void tda8290_init_if(struct dvb_frontend *fe)
492{
493 struct tda8290_priv *priv = fe->analog_demod_priv;
494
495 unsigned char set_VS[] = { 0x30, 0x6F };
496 unsigned char set_GP00_CF[] = { 0x20, 0x01 };
497 unsigned char set_GP01_CF[] = { 0x20, 0x0B };
498
1/*
2
3 i2c tv tuner chip device driver
4 controls the philips tda8290+75 tuner chip combo.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or

--- 482 unchanged lines hidden (view full) ---

491static void tda8290_init_if(struct dvb_frontend *fe)
492{
493 struct tda8290_priv *priv = fe->analog_demod_priv;
494
495 unsigned char set_VS[] = { 0x30, 0x6F };
496 unsigned char set_GP00_CF[] = { 0x20, 0x01 };
497 unsigned char set_GP01_CF[] = { 0x20, 0x0B };
498
499 if ((priv->cfg.config == 1) || (priv->cfg.config == 2))
499 if ((priv->cfg.config == TDA8290_LNA_GP0_HIGH_ON) ||
500 (priv->cfg.config == TDA8290_LNA_GP0_HIGH_OFF))
500 tuner_i2c_xfer_send(&priv->i2c_props, set_GP00_CF, 2);
501 else
502 tuner_i2c_xfer_send(&priv->i2c_props, set_GP01_CF, 2);
503 tuner_i2c_xfer_send(&priv->i2c_props, set_VS, 2);
504}
505
506static void tda8295_init_if(struct dvb_frontend *fe)
507{

--- 380 unchanged lines hidden ---
501 tuner_i2c_xfer_send(&priv->i2c_props, set_GP00_CF, 2);
502 else
503 tuner_i2c_xfer_send(&priv->i2c_props, set_GP01_CF, 2);
504 tuner_i2c_xfer_send(&priv->i2c_props, set_VS, 2);
505}
506
507static void tda8295_init_if(struct dvb_frontend *fe)
508{

--- 380 unchanged lines hidden ---