public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "David Härdeman" <david@hardeman.nu>
To: mchehab@infradead.org
Cc: jarod@redhat.com, linux-media@vger.kernel.org
Subject: [PATCH 0/3] Proposed ir-core (rc-core) changes
Date: Wed, 25 Aug 2010 01:01:57 +0200	[thread overview]
Message-ID: <20100824225427.13006.57226.stgit@localhost.localdomain> (raw)

The following series merges the different files that currently make up
the ir-core module into a single-file rc-core module.

In addition, the ir_input_dev and ir_dev_props structs are replaced
by a single rc_dev struct with an API similar to that of the input
subsystem.

This allows the removal of all knowledge of any input devices from the
rc drivers and paves the way for allowing multiple input devices per
rc device in the future. The namespace conversion from ir_* to rc_*
should mostly be done for the drivers with this patchset.

I have intentionally not signed off on the patches yet since they haven't
been tested. I'd like your feedback on the general approach before I spend
the time to properly test the result.

Also, the imon driver is not converted (and will thus break with this
patchset). The reason is that the imon driver wants to generate mouse
events on the input dev under the control of rc-core. I was hoping that
Jarod would be willing to convert the imon driver to create a separate
input device for sending mouse events to userspace :)

Comments please...

---

David Härdeman (3):
      merge rc-core
      remove remaining users of the ir-functions keyhandlers
      make rc_dev the primary interface for remote control drivers


 drivers/media/IR/Makefile                   |    3 
 drivers/media/IR/ir-core-priv.h             |   26 -
 drivers/media/IR/ir-functions.c             |   96 --
 drivers/media/IR/ir-jvc-decoder.c           |   13 
 drivers/media/IR/ir-keytable.c              |  552 ------------
 drivers/media/IR/ir-lirc-codec.c            |   75 +-
 drivers/media/IR/ir-nec-decoder.c           |   13 
 drivers/media/IR/ir-raw-event.c             |  270 ------
 drivers/media/IR/ir-rc5-decoder.c           |   13 
 drivers/media/IR/ir-rc6-decoder.c           |   17 
 drivers/media/IR/ir-sony-decoder.c          |   11 
 drivers/media/IR/ir-sysfs.c                 |  354 --------
 drivers/media/IR/mceusb.c                   |   99 +-
 drivers/media/IR/rc-core.c                  | 1206 +++++++++++++++++++++++++++
 drivers/media/IR/rc-map.c                   |   84 --
 drivers/media/dvb/dm1105/dm1105.c           |   45 +
 drivers/media/dvb/mantis/mantis_common.h    |    4 
 drivers/media/dvb/mantis/mantis_input.c     |   61 +
 drivers/media/dvb/ttpci/budget-ci.c         |   49 -
 drivers/media/video/bt8xx/bttv-input.c      |   67 +-
 drivers/media/video/bt8xx/bttvp.h           |    1 
 drivers/media/video/cx18/cx18-i2c.c         |    1 
 drivers/media/video/cx23885/cx23885-input.c |   93 --
 drivers/media/video/cx88/cx88-input.c       |   86 +-
 drivers/media/video/em28xx/em28xx-input.c   |   71 +-
 drivers/media/video/ir-kbd-i2c.c            |   41 -
 drivers/media/video/ivtv/ivtv-i2c.c         |    3 
 drivers/media/video/saa7134/saa7134-input.c |  121 +--
 include/media/ir-common.h                   |   32 -
 include/media/ir-core.h                     |  155 ++-
 include/media/ir-kbd-i2c.h                  |    5 
 31 files changed, 1655 insertions(+), 2012 deletions(-)
 delete mode 100644 drivers/media/IR/ir-keytable.c
 delete mode 100644 drivers/media/IR/ir-raw-event.c
 delete mode 100644 drivers/media/IR/ir-sysfs.c
 create mode 100644 drivers/media/IR/rc-core.c
 delete mode 100644 drivers/media/IR/rc-map.c


             reply	other threads:[~2010-08-24 23:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24 23:01 David Härdeman [this message]
2010-08-24 23:02 ` [PATCH 1/3] merge rc-core David Härdeman
2010-08-24 23:02 ` [PATCH 2/3] remove remaining users of the ir-functions keyhandlers David Härdeman
2010-08-24 23:02 ` [PATCH 3/3] make rc_dev the primary interface for remote control drivers David Härdeman
2010-08-26 19:14 ` [PATCH 0/3] Proposed ir-core (rc-core) changes Jarod Wilson
2010-08-27 10:50   ` David Härdeman
  -- strict thread matches above, loose matches on Subject: below --
2010-08-27 15:44 Andy Walls
2010-08-27 15:55 Andy Walls
2010-08-27 17:58 ` Jarod Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100824225427.13006.57226.stgit@localhost.localdomain \
    --to=david@hardeman.nu \
    --cc=jarod@redhat.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox