1. 27 1月, 2015 1 次提交
    • O
      [media] bttv: Convert to generic TEA575x interface · 1b500373
      Ondrej Zary 提交于
      Remove tea575x-specific code from bttv and use the common driver instead.
      
      Only set_frequency is implemented (signal/stereo detection or seek would
      require more changes to bttv).
      
      It works fine on Video Highway Xtreme (it actually makes the radio usable as
      it currently cannot be tuned properly).
      
      Miro/Pinnacle is untested but seems to be simple and should work.
      
      However, I don't understand the Terratec Active Radio Upgrade code. The HW
      seems to need IOR, IOW and CSEL signals that were taken from ISA bus on
      older cards (IOR and IOW directly and CSEL from some address decoder) and
      are emulated here using GPIOs. But the code manipulating these signals in
      bttv seems to be broken - it never asserts the IOR signal. If anyone has
      this HW, please test if I got that right.
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      1b500373
  2. 23 12月, 2014 3 次提交
  3. 25 11月, 2014 1 次提交
  4. 05 11月, 2014 1 次提交
  5. 04 9月, 2014 2 次提交
  6. 09 8月, 2014 1 次提交
  7. 24 7月, 2014 3 次提交
  8. 05 7月, 2014 1 次提交
  9. 25 5月, 2014 1 次提交
  10. 24 5月, 2014 1 次提交
  11. 17 4月, 2014 1 次提交
    • D
      [media] bttv: Add support for PCI-8604PW · c8204930
      Daniel Glöckner 提交于
      This patch adds support for the PCI-8604PW card equipped with four 878A.
      It is unknown who the manufacturer of this card is and no drivers were
      available during development of the patch. According to images found
      online, the card is originally sold with Linux DVR software.
      
      A CPLD on the card prevents the 878A from requesting access to the
      bus until an initialization sequence has been issued via GPIOs. The
      implemented sequence uses the minimum number of GPIOs needed to
      successfully unlock bus access. As there are many more GPIOs connected
      to the CPLD, it is very likely that some of the others have an influence
      on the bus arbitration scheduling. This should be investigated further
      in case of performance issues.
      
      The tested card contains an EEPROM on one of the 878A, but it is
      completely empty (i.e. contains only 0xff), so it is not possible
      to detect the card.
      Signed-off-by: NDaniel Glöckner <daniel-gl@gmx.net>
      Tested-by: NRobert Longbottom <rongblor@googlemail.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      c8204930
  12. 11 3月, 2014 1 次提交
  13. 04 2月, 2014 2 次提交
  14. 07 1月, 2014 2 次提交
  15. 30 11月, 2013 1 次提交
  16. 17 10月, 2013 2 次提交
  17. 27 7月, 2013 1 次提交
  18. 17 6月, 2013 2 次提交
  19. 27 5月, 2013 1 次提交
  20. 21 5月, 2013 4 次提交
  21. 02 4月, 2013 1 次提交
  22. 26 3月, 2013 1 次提交
    • H
      [media] [REGRESSION] bt8xx: Fix too large height in cropcap · 35ccecef
      Hans de Goede 提交于
      Since commit a1fd2877:
      "[media] bttv-driver: fix two warnings"
      cropcap.defrect.height and cropcap.bounds.height for the PAL entry are 32
      resp 30 pixels too large, if a userspace app (ie xawtv) actually tries to use
      the full advertised height, the resulting image is broken in ways only a
      screenshot can describe.
      The cause of this is the fix for this warning:
      drivers/media/pci/bt8xx/bttv-driver.c:308:3: warning: initialized field overwritten [-Woverride-init]
      In this chunk of the commit:
      @@ -301,11 +301,10 @@ const struct bttv_tvnorm bttv_tvnorms[] = {
                              /* totalwidth */ 1135,
                              /* sqwidth */ 944,
                              /* vdelay */ 0x20,
      -                       /* sheight */ 576,
      -                       /* videostart0 */ 23)
                      /* bt878 (and bt848?) can capture another
                         line below active video. */
      -               .cropcap.bounds.height = (576 + 2) + 0x20 - 2,
      +                       /* sheight */ (576 + 2) + 0x20 - 2,
      +                       /* videostart0 */ 23)
              },{
                      .v4l2_id        = V4L2_STD_NTSC_M | V4L2_STD_NTSC_M_KR,
                      .name           = "NTSC",
      Which replaces the overriding of cropcap.bounds.height initialization outside
      of the CROPCAP macro (which also initializes it), with passing a
      different sheight value to the CROPCAP macro.
      There are 2 problems with this warning fix:
      1) The sheight value is used twice in the CROPCAP macro, and the old code
         only changed one resulting value.
      2) The old code increased the .cropcap.bounds.height value (and did not
         touch the .cropcap.defrect.height value at all) by 2, where as the fixed
         code increases it by 32, as the fixed code passes (576 + 2) + 0x20 - 2
         to the CROPCAP macro, but the + 0x20 - 2 is already done by the macro so
         now is done twice for .cropcap.bounds.height, and also is applied to
         .cropcap.defrect.height where it should not be applied at all.
      This patch fixes this by adding an extraheight parameter to the CROPCAP entry
      and using it for the PAL entry.
      
      Cc: stable@kernel.org	# For Kernel 3.8
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      35ccecef
  23. 24 3月, 2013 4 次提交
  24. 23 3月, 2013 2 次提交