1. 10 6月, 2015 2 次提交
    • J
      [media] mantis: add remote control support · a96762da
      Jan Klötzke 提交于
      The embedded UART is apparently used to receive decoded IR (RC5?) codes.
      Forward these scan codes to the RC framework and (where known) add
      corresponding mapping tables to translate them into regular keys.
      
      This patch has been tested on a TechniSat CableStar HD2. The mappings of other
      rc-maps were taken from Christoph Pinkl's patch
      (http://patchwork.linuxtv.org/patch/7217/) and the s2-liplianin repository. The
      major difference to Christoph's patch is a reworked interrupt handling of the
      UART because the RX interrupt is apparently level triggered and requires
      masking until the FIFO is read by the UART worker.
      Signed-off-by: NJan Klötzke <jan@kloetzke.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      a96762da
    • M
      [media] dvb: Get rid of typedev usage for enums · 0df289a2
      Mauro Carvalho Chehab 提交于
      The DVB API was originally defined using typedefs. This is against
      Kernel CodingStyle, and there's no good usage here. While we can't
      remove its usage on userspace, we can avoid its usage in Kernelspace.
      
      So, let's do it.
      
      This patch was generated by this shell script:
      
      	for j in $(grep typedef include/uapi/linux/dvb/frontend.h |cut -d' ' -f 3); do for i in $(find drivers/media -name '*.[ch]' -type f) $(find drivers/staging/media -name '*.[ch]' -type f); do sed "s,${j}_t,enum $j," <$i >a && mv a $i; done; done
      
      While here, make CodingStyle fixes on the affected lines.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de> # for drivers/media/firewire/*
      0df289a2
  2. 12 5月, 2015 1 次提交
  3. 01 5月, 2015 1 次提交
  4. 27 1月, 2015 1 次提交
  5. 03 9月, 2014 1 次提交
    • H
      [media] mantis: fix sparse warnings · 967a3783
      Hans Verkuil 提交于
      drivers/media/pci/mantis/hopper_vp3028.c:37:23: warning: symbol 'hopper_vp3028_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp1033.c:38:4: warning: symbol 'lgtdqcs001f_inittab' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp1033.c:153:23: warning: symbol 'lgtdqcs001f_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp1034.c:39:23: warning: symbol 'vp1034_mb86a16_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp1041.c:266:23: warning: symbol 'vp1041_stb0899_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp1041.c:303:23: warning: symbol 'vp1041_stb6100_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp2033.c:40:24: warning: symbol 'vp2033_tda1002x_cu1216_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp2033.c:45:24: warning: symbol 'vp2033_tda10023_cu1216_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp2040.c:40:24: warning: symbol 'vp2040_tda1002x_cu1216_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp2040.c:45:24: warning: symbol 'vp2040_tda10023_cu1216_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp3030.c:38:23: warning: symbol 'mantis_vp3030_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_vp3030.c:42:23: warning: symbol 'env57h12d5_config' was not declared. Should it be static?
      drivers/media/pci/mantis/mantis_dma.c:167:33: warning: incorrect type in assignment (different base types)
      drivers/media/pci/mantis/mantis_dma.c:172:33: warning: incorrect type in assignment (different base types)
      drivers/media/pci/mantis/mantis_dma.c:174:25: warning: incorrect type in assignment (different base types)
      drivers/media/pci/mantis/mantis_dma.c:178:9: warning: incorrect type in assignment (different base types)
      drivers/media/pci/mantis/mantis_dma.c:179:9: warning: incorrect type in assignment (different base types)
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      967a3783
  6. 17 10月, 2013 1 次提交
  7. 18 6月, 2013 2 次提交
  8. 21 5月, 2013 1 次提交
  9. 02 4月, 2013 1 次提交
  10. 04 1月, 2013 1 次提交
    • G
      Drivers: media: remove __dev* attributes. · 4c62e976
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c62e976
  11. 28 12月, 2012 1 次提交
  12. 28 10月, 2012 1 次提交
    • M
      [media] mantis: get rid of warning: no previous prototype · 6860f9ca
      Mauro Carvalho Chehab 提交于
      drivers/media/pci/mantis/mantis_input.c:107:5: warning: no previous prototype for 'mantis_input_init' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_input.c:153:5: warning: no previous prototype for 'mantis_exit' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_uart.c:64:5: warning: no previous prototype for 'mantis_uart_read' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_vp1033.c:118:5: warning: no previous prototype for 'lgtdqcs001f_set_symbol_rate' [-Wmissing-prototypes]
      drivers/media/pci/mantis/mantis_vp1033.c:86:5: warning: no previous prototype for 'lgtdqcs001f_tuner_set' [-Wmissing-prototypes]
      
      Note: there is already a mantis_exit at the mantis driver. So,
      this should be renamed to mantis_input_exit.
      
      The mantis_input code is currently unused, as it doesn't implement the RC API
      right.
      
      Patches for it are sent for discussions, but were never
      accepted. So, while this is not fixed, the entire code inside
      mantis_input can simply be commented.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6860f9ca
  13. 21 8月, 2012 1 次提交
    • M
      [media] Kconfig: merge all customise options into just one · fccea74f
      Mauro Carvalho Chehab 提交于
      Instead of having 3 options to allow customizing the media
      sub-drivers (tuners, I2C drivers, frontends), merge all of
      them into just one.
      
      That simplifies the life for users, as they can just keep
      this untouched.
      
      Life for developers is also simpler, as there's now just
      one Kconfig item to remember, for the ancillary sub-drivers
      providing supports for chips that could change from one
      board design to another.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fccea74f
  14. 14 8月, 2012 1 次提交