1. 10 10月, 2007 2 次提交
    • T
      V4L/DVB (6021): cx88: Copy board information into card state · 6a59d64c
      Trent Piepho 提交于
      The cx88 driver state stored the ID of the board type in core->board.  Every
      time the driver need to get some information about the board configuration, it
      uses the board number as an index into board configuration array.
      
      This patch changes it so that the board number is in core->boardnr, and
      core->board is a copy of the board configuration information.  This allows
      access to board information without the extra indirection.  e.g.
      cx88_boards[core->board].mpeg becomes core->board.mpeg.
      
      This has a number of advantages:
      - The code is simpler to write.
      
      - It compiles to be smaller and faster, without needing the extra array lookup
        to get at the board information.
      
      - The cx88_boards array no longer needs to be exported to all cx88 modules.
      
      - The boards array can be made const
      
      - It should be possible to avoid keeping the (large) cx88_boards array around
        after the module is loaded.
      
      - If module parameters or eeprom info override some board configuration
        setting, it's not necessary to modify the boards array, which would
        affect all boards of the same type.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      6a59d64c
    • T
      V4L/DVB (5975): cx88: Wrong values used for HD-3000 radio mode · 19dc74b7
      Trent Piepho 提交于
      After some tedious work with a logic probe and a magnifying glass, I've
      determined that GPIO 7 is used to switch between the DTT7612's Sound 4.5 MHz
      IF output on pin 12 and the FM 10.7MHz If output on pin 11.  GPIO 2 is used to
      switch the card's analog sound output from from the analog input connector to
      the CX23883's audio DACs.
      
      So, in radio mode GPIO2 = 1 and GPIO7 = 0.
      
      Add some comments about how the HD-3000's GPIOs are connected.
      
      Delete the vmux setting for the radio, as vmux doesn't apply to radio mode.
      Also delete the lines setting unused gpio words to zero; it's not necessary as
      0 is the default value for uninitialized fields.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      19dc74b7
  2. 19 7月, 2007 1 次提交
  3. 28 4月, 2007 4 次提交
  4. 21 2月, 2007 1 次提交
  5. 28 12月, 2006 1 次提交
  6. 10 12月, 2006 6 次提交
  7. 14 10月, 2006 1 次提交
  8. 04 10月, 2006 5 次提交
  9. 26 9月, 2006 8 次提交
  10. 01 7月, 2006 1 次提交
  11. 26 6月, 2006 1 次提交
    • A
      V4L/DVB (4213): Cx88: cleanups · dff47bf2
      Adrian Bunk 提交于
      remove the following unused hooks:
      - cx88-blackbird.c: cx88_ioctl_hook()
      - cx88-blackbird.c: cx88_ioctl_translator()
      make the following needlessly global functions static:
      - cx88-tvaudio.c: cx88_detect_nicam()
      remove the following unused EXPORT_SYMBOL's:
      - cx88-cards.c: cx88_bcount
      - cx88-cards.c: cx88_subids
      - cx88-cards.c: cx88_idcount
      - cx88-cards.c: cx88_card_list
      - cx88-cards.c: cx88_card_setup
      - cx88-core.c: cx88_start_audio_dma
      - cx88-core.c: cx88_stop_audio_dma
      - cx88-i2c.c: cx88_i2c_init
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      dff47bf2
  12. 25 6月, 2006 9 次提交