1. 19 5月, 2010 38 次提交
  2. 18 5月, 2010 2 次提交
    • M
      V4L/DVB: ir-core: Add callbacks for input/evdev open/close on IR core · 716aab44
      Mauro Carvalho Chehab 提交于
      Especially when IR needs to do polling, it generates lots of wakeups per
      second. This makes no sense, if the input event device is closed.
      
      Adds a callback handler to the IR hardware driver, to allow registering
      an open/close ops.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      716aab44
    • M
      V4L/DVB: ir-core: rename sysfs remote controller class from ir to rc · e202c15b
      Mauro Carvalho Chehab 提交于
      IR is an alias for Infrared Remote, while RC is an alias for Remote
      Controller.
      
      While currently all implementations are with Infrared Remote Controller,
      this subsystem is not meant to be used only by IR type of RC's. So,
      as discussed on both linux-media and linux-input, the better is to
      rename the subsystem as Remote Controller.
      
      While, currently, the only application that uses the /sys/class/irrcv is
      ir-keytable application, and its sysfs support works only with the
      current linux-next code, it is still possible to change the userspace API
      without the risk of breaking applications. So, better to rename this
      sooner than later.
      
      Later patches will be needed to rename the files and to move them away
      from drivers/media, but this is not a critical issue. So, for now,
      let's just change the name of the sysfs class/nodes.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      e202c15b