public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Proposed ir-core (rc-core) changes
@ 2010-08-24 23:01 David Härdeman
  2010-08-24 23:02 ` [PATCH 1/3] merge rc-core David Härdeman
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Härdeman @ 2010-08-24 23:01 UTC (permalink / raw)
  To: mchehab; +Cc: jarod, linux-media

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-27 10:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-24 23:01 [PATCH 0/3] Proposed ir-core (rc-core) changes David Härdeman
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox