1. 19 5月, 2010 2 次提交
    • M
      V4L/DVB: irmon: Cleanup some warning noise · 1f71baef
      Mauro Carvalho Chehab 提交于
      Driver is not properly initializing u64 constants on 32 bit systems:
      drivers/media/IR/imon.c:301: warning: integer constant is too large for ‘long’ type
      drivers/media/IR/imon.c:302: warning: integer constant is too large for ‘long’ type
      drivers/media/IR/imon.c:304: warning: integer constant is too large for ‘long’ type
      drivers/media/IR/imon.c:305: warning: integer constant is too large for ‘long’ type
      drivers/media/IR/imon.c:308: warning: integer constant is too large for ‘long’ type
      drivers/media/IR/imon.c:309: warning: integer constant is too large for ‘long’ type
      drivers/media/IR/imon.c:310: warning: integer constant is too large for ‘long’ type
      
      Fix also a few troubles at error printk handling:
      drivers/media/IR/imon.c: In function ‘imon_init_intf0’:
      drivers/media/IR/imon.c:1909: warning: ‘ret’ may be used uninitialized in this function
      drivers/media/IR/imon.c: In function ‘imon_init_intf1’:
      drivers/media/IR/imon.c:1989: warning: ‘ret’ may be used uninitialized in this function
      
      Cc: Jarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1f71baef
    • J
      V4L/DVB: ir-core: add imon driver · 21677cfc
      Jarod Wilson 提交于
      This is a new driver for the SoundGraph iMON and Antec Veris IR/display
      devices commonly found in many home theater pc cases and as after-market
      case additions.
      
      [mchehab@redhat.com: add KERN_CONT on line 2098 to shutup checkpatc.pl]
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      21677cfc