1. 24 Jan, 2013 3 commits
  2. 23 Jan, 2013 5 commits
  3. 22 Jan, 2013 7 commits
  4. 14 Aug, 2012 1 commit
  5. 16 Jan, 2012 1 commit
  6. 11 Jan, 2012 3 commits
    • Mauro Carvalho Chehab's avatar
      mb86a20s: Add a few more register settings at the init seq · ebe96749
      Mauro Carvalho Chehab authored
      Some time ago, Manoel sent us a patch adding more stuff
      to the init sequence. However, his patch were also doing
      non-related stuff, by changing the init logic without
      any good reason. So, it was asked for him to submit a
      patch with just the data that has changed, in order to
      allow us to better analyze it.
      As he didn't what it was requested, I finally found some
      time to dig into his init sequence and add it here.
      Basically, new stuff is added there. There are a few changes:
      1) The removal of the extra (duplicated) logic that puts
         the chip into the serial mode;
      2) Some Viterbi VBER measurement init data was changed from
         0x00 to 0xff for layer A, to match what was done for
         layers B and C.
      None of those caused any regressions and both make sense
      on my eyes.
      The other parameters additions actually increased the
      tuning quality for some channels. Yet, some channels that
      were previously discovered with scan disappered, while
      others appeared instead. This were tested in Brasilia,
      with an external antena.
      At the overall, it is now a little better. So, better to
      add these, and then try to figure out a configuration that
      would get even better scanning results.
      Reported-by: default avatarManoel Pinheiro <pinusdtv@hotmail.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    • Mauro Carvalho Chehab's avatar
      mb86a20s: Group registers into the same line · a7025edf
      Mauro Carvalho Chehab authored
      On mb86a20s, some registers have sub-addresses, while others not.
      In order to make easier to compare different settings, group them.
      No functional changes in this patch.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    • Mauro Carvalho Chehab's avatar
      [media] mb86a20s: implement get_frontend() · 959a119f
      Mauro Carvalho Chehab authored
      Reports the auto-detected parameters to userspace.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
  7. 04 Jan, 2012 1 commit
  8. 31 Dec, 2011 6 commits
  9. 31 Mar, 2011 1 commit
  10. 19 Jan, 2011 2 commits
    • Mauro Carvalho Chehab's avatar
      [media] mb86a20s: Be sure that device is initialized before starting DVB · c736a5f2
      Mauro Carvalho Chehab authored
      Due to a hard to track bug between tda829x/tda18271/saa7134, tda829x
      wants to go to analog mode during DVB initialization, causing some
      I2C errors.
      The analog failure doesn't cause any harm, as the device were already
      properly initialized in analog mode. However, the failure at the digital
      mode causes the frontend mb86a20s to not initialize. Fortunately, at
      least on my tests, it was possible to detect that the device is a
      mb86a20s before the failure.
      What happens is that tda8290 is a very bad boy: during DVB setup, it
      keeps insisting to call tda18271 analog_set_params, that calls
      tune_agc code. The tune_agc code calls saa7134 driver, changing the
      value of GPIO 27, switching from digital to analog mode and disabling
      the access to mb86a20s, as, on Kworld SBTVD, the same GPIO used
      to switch the hardware AGC mode seems to be used to enable the I2C
      switch that allows access to the frontend (mb86a20s).
      So, a call to analog_set_params ultimately disables the access to
      the frontend, and causes a failure at the init frontend logic.
      This patch is a workaround for this issue: it simply checks if the
      frontend init had any failure. If so, it will init the frontend when
      some DTV application will try to set DVB mode.
      Even being a hack for Kworld SBTVD to work, and assumning that we could
      teach tda8290 to be a good boy, this is actually an improvement at the
      frontend driver, as it will be more reliable to initialization failures.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    • Mauro Carvalho Chehab's avatar
      [media] mb86a20s: Fix i2c read/write error messages · 7570800c
      Mauro Carvalho Chehab authored
      A script replaced err var to rc. Howerver, this script gambled
      "error" string, changing it to "rcor". Revert that bad change.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
  11. 29 Dec, 2010 3 commits