1. 21 5月, 2012 1 次提交
  2. 08 3月, 2012 1 次提交
  3. 31 12月, 2011 2 次提交
  4. 28 7月, 2011 1 次提交
    • C
      [media] Make Compro VideoMate Vista T750F actually work · dbe8740d
      Carlos Corbacho 提交于
      Based on the work of John Newbigin, Davor Emard and others who contributed
      on the mailing lists.
      
      The previous 'support' for this card was a partial merge of John's changes
      that, as far as I can tell, never actually got the thing working (no DVB-T,
      analog tuner not initialised).
      
      Initialise the analog tuner properly and hook up the DVB tuner and demodulator.
      
      DVB-T and analog now work (though I can't tune every DVB channel, but I think
      there's an issue with the aerial and signal boosters here that is causing
      me problems).
      Signed-off-by: NCarlos Corbacho <carlos@strangeworlds.co.uk>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      dbe8740d
  5. 20 5月, 2011 1 次提交
  6. 19 1月, 2011 3 次提交
    • M
      [media] saa7134: Kworld SBTVD: make both analog and digital to work · ecb71d26
      Mauro Carvalho Chehab 提交于
      There are some weird bugs at tda8290/tda18271 initialization, as it
      insits do do analog initialization during DVB frontend attach:
      
      DVB: registering new adapter (saa7133[0])
      DVB: registering adapter 0 frontend 0 (Fujitsu mb86A20s)...
      mb86a20s: mb86a20s_initfe
      tda18271_write_regs: [2-0060|M] ERROR: idx = 0x5, len = 1, i2c_transfer returned: -5
      tda18271_init: [2-0060|M] error -5 on line 830
      tda18271_tune: [2-0060|M] error -5 on line 908
      tda18271_write_regs
      tda18271_write_regs: [2-0060|M] ERROR: idx = 0x5, len = 1, i2c_transfer returned: -5
      tda18271c2_rf_tracking_filters_correction: [2-0060|M] error -5 on line 265
      tda18271_write_regs
      tda18271_write_regs: [2-0060|M] ERROR: idx = 0x25, len = 1, i2c_transfer returned: -5
      tda18271_channel_configuration: [2-0060|M] error -5 on line 119
      tda18271_set_analog_params: [2-0060|M] error -5 on line 1045
      tda18271_set_analog_params: [2-0060|M] error -5 on line 1045
      tda829x 2-004b: tda8295 not locked, no signal?
      tda829x 2-004b: tda8295_i2c_bridge: disable i2c gate
      tda829x 2-004b: tda8295 not locked, no signal?
      tda829x 2-004b: tda8295_i2c_bridge: disable i2c gate
      mb86a20s_i2c_writereg: writereg error (rc == -5, reg == 0x29, data == 0x33)
      mb86a20s: Init failed. Will try again later
      
      The problem is that mb86a20s is only visible if the analog part is disabled.
      
      However, due to a trick at mb86a20s, it will later initialize properly:
      
      mb86a20s: mb86a20s_initfe: Initialization succeded.
      
      This is hacky and ugly. However, I coldn't find any easy way to fix it.
      A proper fix would be to have a resource locking schema, used by both
      V4L and DVB parts that would block access to analog registers while
      digital registers are in use, but this will probably put tda829x into
      a dead lock.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ecb71d26
    • M
      [media] saa7134: Fix digital mode on Kworld SBTVD · 6a58bc0f
      Mauro Carvalho Chehab 提交于
      This patch fixes digital mode on Kworld SBTVD. Unfortunately, it disables
      analog mode.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6a58bc0f
    • M
      [media] saa7134: Fix analog mode for Kworld SBTVD · 61830406
      Mauro Carvalho Chehab 提交于
      There were some issues at tda8290 that were preventing this device
      to work. Now that those fixes were fixed, we can enable analog
      mode.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      61830406
  7. 29 12月, 2010 1 次提交
  8. 21 10月, 2010 1 次提交
  9. 03 8月, 2010 1 次提交
  10. 19 5月, 2010 1 次提交
  11. 30 3月, 2010 1 次提交
    • T
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo 提交于
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        blocks and try to put the new include such that its order conforms
        to its surrounding.  It's put in the include block which contains
        core kernel includes, in the same order that the rest are ordered -
        alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
        doesn't seem to be any matching order.
      
      * If the script can't find a place to put a new include (mostly
        because the file doesn't have fitting include block), it prints out
        an error message indicating which .h file needs to be added to the
        file.
      
      The conversion was done in the following steps.
      
      1. The initial automatic conversion of all .c files updated slightly
         over 4000 files, deleting around 700 includes and adding ~480 gfp.h
         and ~3000 slab.h inclusions.  The script emitted errors for ~400
         files.
      
      2. Each error was manually checked.  Some didn't need the inclusion,
         some needed manual addition while adding it to implementation .h or
         embedding .c file was more appropriate for others.  This step added
         inclusions to around 150 files.
      
      3. The script was run again and the output was compared to the edits
         from #2 to make sure no file was left behind.
      
      4. Several build tests were done and a couple of problems were fixed.
         e.g. lib/decompress_*.c used malloc/free() wrappers around slab
         APIs requiring slab.h to be added manually.
      
      5. The script was run on all .h files but without automatically
         editing them as sprinkling gfp.h and slab.h inclusions around .h
         files could easily lead to inclusion dependency hell.  Most gfp.h
         inclusion directives were ignored as stuff from gfp.h was usually
         wildly available and often used in preprocessor macros.  Each
         slab.h inclusion directive was examined and added manually as
         necessary.
      
      6. percpu.h was updated not to include slab.h.
      
      7. Build test were done on the following configurations and failures
         were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
         distributed build env didn't work with gcov compiles) and a few
         more options had to be turned off depending on archs to make things
         build (like ipr on powerpc/64 which failed due to missing writeq).
      
         * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
         * powerpc and powerpc64 SMP allmodconfig
         * sparc and sparc64 SMP allmodconfig
         * ia64 SMP allmodconfig
         * s390 SMP allmodconfig
         * alpha SMP allmodconfig
         * um on x86_64 SMP allmodconfig
      
      8. percpu.h modifications were reverted so that it could be applied as
         a separate patch and serve as bisection point.
      
      Given the fact that I had only a couple of failures from tests on step
      6, I'm fairly confident about the coverage of this conversion patch.
      If there is a breakage, it's likely to be something in one of the arch
      headers which should be easily discoverable easily on most builds of
      the specific arch.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Guess-its-ok-by: NChristoph Lameter <cl@linux-foundation.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
      5a0e3ad6
  12. 06 12月, 2009 5 次提交
  13. 19 9月, 2009 2 次提交
  14. 12 9月, 2009 2 次提交
  15. 14 8月, 2009 2 次提交
  16. 17 6月, 2009 1 次提交
  17. 30 3月, 2009 3 次提交
  18. 13 3月, 2009 1 次提交
  19. 03 1月, 2009 2 次提交
  20. 30 12月, 2008 1 次提交
  21. 18 10月, 2008 6 次提交
    • D
      V4L/DVB (9271): videobuf: data storage optimisation (2) · 96b7a1a8
      Darron Broad 提交于
      To optimise data storage even further one other redundant
      var has been removed.
      
      This also removes a redundant assignment.
      Signed-off-by: NSteven Toth <stoth@linuxtv.org>
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      96b7a1a8
    • D
      V4L/DVB (9265): videobuf: data storage optimisation · 7bdf84fc
      Darron Broad 提交于
      To optimise data storage redundant vars are removed.
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Signed-off-by: NSteven Toth <stoth@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      7bdf84fc
    • D
      V4L/DVB (9227): MFE: Add multi-frontend mutual exclusion · 59b1842d
      Darron Broad 提交于
      This add frontend R/W mutual exclusion.
      Prior to this point in time it was possible to open both
      frontends simultaneously which an MFE card cannot support.
      
      In order to stop this, a delayed open is performed which
      has the following function:
      
      -  Return EBUSY after a configurable amount of time
         if a frontend is unavailable due to the other being
         in use.
      
      -  Only allow opening of a frontend if the kernel thread
         of the other has stopped.
      
      This solution was chosen to allow switching between
      frontends to work as seamlessly as possible. When both
      frontends are actually opened simultaneously then one
      will only open, but if quick switching is performed
      between one of many then the new open will succeed in
      a clean fashion rather than interrupting a kernel
      thread.
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      59b1842d
    • D
      V4L/DVB (9224): MFE: bugfix: add missing frontend allocation · f972e0bd
      Darron Broad 提交于
      When using MFE on a setup with both and HVR-3000 and ASUS P7131
      card it was noticed that frontend allocation for saa7134
      adapters was missing. This patch adds that allocation for
      both saa7134 and cx23885 adapters.
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      f972e0bd
    • D
      V4L/DVB (9223): MFE: Fix a number of bugs and some tidying up · 92abe9ee
      Darron Broad 提交于
      A number of reference to videobuf_dvb_get_frontend used an invalid
      index. This has been fixed.
      
      The section for the HVR3000 in advise_acquire was redundant as
      the same logic is used on the HVR4000. This has been removed
      and both cards now use the same function.
      
      A number of small errors and whitespace errors are also fixed.
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      92abe9ee
    • S
      V4L/DVB (9222): S2API: Add Multiple-frontend on a single adapter support. · 363c35fc
      Steven Toth 提交于
      A detailed description from the original patches 2 years ago:
      
      "The WinTV-HVR3000 has a single transport bus which is shared between
      a DVB-T and DVB-S modulator. These patches build on the bus acquisition
      cx88 work from a few weeks ago to add support for this.
      
      So to applications the HVR3000 looks like this:
      /dev/dvb/adapter0/fe0 (cx24123 DVB-S demod)
      /dev/dvb/adapter0/fe1 (cx22702 DVB-T demod)
      
      Additional boards continue as before, eg:
      /dev/dvb/adapter1/fe0 (lgdt3302 ATSC demod)
      
      The basic change is removing the single instance of the videobuf_dvb in
      cx8802_dev and saa7134_dev(?) and replacing it with a list and some
      supporting functions.
      
      *NOTE* This branch was taken before v4l-dvb was closed for 2.6.19 so
      two or three current cx88 patches appear to be reversed by this tree,
      this will be cleaned up in the near future. The patches missing change
      the mutex handing to core->lock, fix an enumeration problem."
      
      It should be recognised that a number of people have been maintaining
      this patchset. Significant levels of Kudos to everyone one involved,
      including but not limited to:
      
      Darron Broad
      Fabio M. Di Nitto
      Carlo Scarfoglio
      Hans Werner
      
      Without the work of these people, and countless others, my two year old
      patches would of died on the Mercurial linuxtv.org vine a long time
      ago.
      
      TODO: Revise these patches a little further so that the need for
      demux1 and dvr0 is optional, not mandatory on the HVR3000.
      
      HISTORY (darron):
      This is the last update to MFE prepared by Hans which is based
      upon the `scratchpad' diff created by Carlo.
      All MFE work prior to that point must be attributed to Fabio
      who ported and maintained Steve's original patch up to that
      time.
      Signed-off-by: NSteven Toth <stoth@linuxtv.org>
      Signed-off-by: NDarron Broad <darron@kewl.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      363c35fc
  22. 12 10月, 2008 1 次提交