Re: [PATCHv3 1/2] tda18250: support for new silicon tuner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Michael,

Many thanks for taking the time to review the patches.

On 27 October 2017 at 13:27, Michael Ira Krufky <mkrufky@xxxxxxxxxxx> wrote:
>> +static int tda18250_sleep(struct dvb_frontend *fe)
>> +{
>> +       struct i2c_client *client = fe->tuner_priv;
>> +       struct tda18250_dev *dev = i2c_get_clientdata(client);
>> +       int ret;
>> +
>> +       dev_dbg(&client->dev, "\n");
>> +
>> +       /* power down LNA */
>> +       ret = regmap_write_bits(dev->regmap, R0C_AGC11, 0x80, 0x00);
>> +       if (ret)
>> +               return ret;
>> +
>> +       ret = tda18250_power_control(fe, TDA18250_POWER_STANDBY);
>> +       return ret;
>> +}
>
> Do we know for sure if the IF_FREQUENCY is preserved after returning
> from a sleep?   It might be a good idea to set `dev->if_frequency = 0`
> within `tda18250_sleep` to be sure that it gets set again on the next
> tune, but you may want to check the specification first, if its
> available.
>
> This is not a show-stopper -- We can merge this as-is and this can be
> handled in a follow-up patch.

I will look into this and send a patch on top of this one if needed.

Thank you for pointing it out.

Cheers,
-olli



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux