1. 19 11月, 2015 3 次提交
  2. 19 8月, 2015 1 次提交
  3. 15 5月, 2015 1 次提交
  4. 05 2月, 2014 1 次提交
  5. 08 11月, 2013 1 次提交
    • M
      [media] rc: Fir warnings on m68k arch · 221cefa4
      Mauro Carvalho Chehab 提交于
      Fix the following warnings:
      	drivers/media/rc/fintek-cir.c: In function 'fintek_cr_write':
      	drivers/media/rc/fintek-cir.c:45:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/fintek-cir.c:46:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/fintek-cir.c: In function 'fintek_cr_read':
      	drivers/media/rc/fintek-cir.c:54:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/fintek-cir.c:55:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/fintek-cir.c: In function 'fintek_config_mode_enable':
      	drivers/media/rc/fintek-cir.c:80:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/fintek-cir.c:81:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/fintek-cir.c: In function 'fintek_config_mode_disable':
      	drivers/media/rc/fintek-cir.c:87:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c: In function 'nvt_cr_write':
      	drivers/media/rc/nuvoton-cir.c:45:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c:46:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c: In function 'nvt_cr_read':
      	drivers/media/rc/nuvoton-cir.c:52:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c:53:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c: In function 'nvt_efm_enable':
      	drivers/media/rc/nuvoton-cir.c:74:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c:75:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c: In function 'nvt_efm_disable':
      	drivers/media/rc/nuvoton-cir.c:81:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c: In function 'nvt_select_logical_dev':
      	drivers/media/rc/nuvoton-cir.c:91:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      	drivers/media/rc/nuvoton-cir.c:92:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      Those are caused because the I/O port is u32, instead of u8.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      Reviewed-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      221cefa4
  6. 28 10月, 2012 1 次提交
    • M
      [media] nuvoton-cir: carrier detect support is broken - remove it · 230dc94a
      Mauro Carvalho Chehab 提交于
      The carrier detect return value is never used on nuvoton driver:
      drivers/media/rc/nuvoton-cir.c: In function 'nvt_process_rx_ir_data':
      drivers/media/rc/nuvoton-cir.c:623:6: warning: variable 'carrier' set but not used [-Wunused-but-set-variable]
      Also, this would be called only if a boolean variable is enabled,
      but there's no condition that enables it inside the driver. So,
      comment the carrier detection code, as it might be useful later,
      and remove the unused glue code.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      230dc94a
  7. 11 9月, 2011 1 次提交
    • J
      [media] nuvoton-cir: simplify raw IR sample handling · de4ed0c1
      Jarod Wilson 提交于
      The nuvoton-cir driver was storing up consecutive pulse-pulse and
      space-space samples internally, for no good reason, since
      ir_raw_event_store_with_filter() already merges back to back like
      samples types for us. This should also fix a regression introduced late
      in 3.0 that related to a timeout change, which actually becomes correct
      when coupled with this change. Tested with RC6 and RC5 on my own
      nuvoton-cir hardware atop vanilla 3.0.0, after verifying quirky
      behavior in 3.0 due to the timeout change.
      Reported-by: NStephan Raue <sraue@openelec.tv>
      CC: Stephan Raue <sraue@openelec.tv>
      CC: stable@vger.kernel.org
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      de4ed0c1
  8. 11 6月, 2011 1 次提交
  9. 20 5月, 2011 2 次提交
  10. 03 3月, 2011 1 次提交
  11. 29 12月, 2010 2 次提交
  12. 21 10月, 2010 2 次提交
    • J
      [media] IR/nuvoton: address all checkpatch.pl issues · 4e6e29ad
      Jarod Wilson 提交于
      The driver was missing KERN_ facilities on a number of printks. The
      register dump functions have been updated to use KERN_INFO, so that the
      register dump gets logged in syslog (they only run on driver load, and
      only when debug is enabled). The buffer dump routine now uses
      KERN_DEBUG, as that spew will happen quite frequently (several times
      every IR signal), and shouldn't need to be logged.
      
      Also split up the small handful of lines that were just over 80
      characaters, and fixed the ioctl.h include.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      4e6e29ad
    • J
      [media] IR: add driver for Nuvoton w836x7hg integrated CIR · 6d2f5c27
      Jarod Wilson 提交于
      This is a new ir-core pnp driver for the Nuvoton w836x7hg integrated CIR
      function. The chip is found on at least the ASRock ION 330HT boxes and
      apparently, on a number of Intel DP55-series motherboards:
      
      http://www.asrock.com/nettop/overview.asp?Model=ION%20330HT
      http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=17685&lang=eng
      
      This driver was made possible by a hardware donation from Nuvoton, along
      with sample code (in the form of an lirc driver) and datasheet, so huge
      thanks to them for supporting this effort. Note that this driver
      constitutes a massive rewrite, porting from the lirc interfaces to the
      ir-core interfaces, and restructuring the driver to look more like Maxim
      Levitsky's ene_ir driver (as well as generally making it look more like
      kernel code).
      
      There's some work left to be done on this driver, to fully support the
      range of functionality possible, but receive and IR power-on/wake are
      both functional (may require setting wake key under another OS atm). The
      hardware I've got (one of the ASRock boxes) only supports RX, so TX is
      completely untested as of yet. Certain RX parameters, like sample
      resolution and RX IRQ sample length trigger level could possibly stand
      to be made tweakable via modparams or sysfs nodes, but the current
      values work well enough for me w/an MCE RC6A remote.
      
      The original lirc driver carried support for the Windows MCE IR
      keyboard/mouse device, which I plan to add back generically, in a way
      that should be usable by any raw IR receiver (or at least by this driver
      and the mceusb driver).
      
      Suspend and resume have also been tested, the power button on my remote
      can be used to wake the machine, and CIR functionality resumes just
      fine. Module unload/reload has also been tested, though not extensively
      or repetitively. Also tested to work with the lirc bridge plugin for
      userspace decoding.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6d2f5c27