linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David Härdeman" <david@hardeman.nu>
To: mchehab@redhat.com
Cc: linux-media@vger.kernel.org, linux-input@vger.kernel.org
Subject: [PATCH 0/4] ir-core sysfs protocol selection simplification
Date: Sat, 24 Apr 2010 23:13:55 +0200	[thread overview]
Message-ID: <20100424210843.11570.82007.stgit@localhost.localdomain> (raw)

The following series changes the sysfs implementation in ir-core to
make the protocol selection work in the same manner for hardware
decoders and software decoders (the distinction between the two
should be hidden from the user as much as possible IMHO).

This also allows for a nice reduction of duplicated code between
the raw ir protocol decoders.

The first patch is merely preparatory and should hopefully not
be controversial.

The second and third patch should be considered RFC's on the
implementation of the sysfs interface.

The last patch is orthogonal to the rest of the patchset and should
hopefully not be controversial (though it would be nice if someone
with the actual hardware could test it).

---

David Härdeman (4):
      ir-core: remove IR_TYPE_PD
      ir-core: centralize sysfs raw decoder enabling/disabling
      ir-core: move decoding state to ir_raw_event_ctrl
      ir-core: remove ir-functions usage from cx231xx


 drivers/media/IR/ir-core-priv.h             |   40 ++++
 drivers/media/IR/ir-jvc-decoder.c           |  152 +---------------
 drivers/media/IR/ir-nec-decoder.c           |  151 +---------------
 drivers/media/IR/ir-raw-event.c             |  136 ++++++--------
 drivers/media/IR/ir-rc5-decoder.c           |  165 ++---------------
 drivers/media/IR/ir-rc6-decoder.c           |  154 +---------------
 drivers/media/IR/ir-sony-decoder.c          |  155 +---------------
 drivers/media/IR/ir-sysfs.c                 |  262 +++++++++++++++------------
 drivers/media/video/cx231xx/cx231xx-input.c |   47 +----
 drivers/media/video/cx231xx/cx231xx.h       |    2 
 drivers/media/video/cx88/cx88-input.c       |    8 -
 include/media/ir-kbd-i2c.h                  |    2 
 include/media/rc-map.h                      |    9 -
 13 files changed, 322 insertions(+), 961 deletions(-)

-- 
David Härdeman
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2010-04-24 21:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 21:13 David Härdeman [this message]
2010-04-24 21:14 ` [PATCH 1/4] ir-core: remove IR_TYPE_PD David Härdeman
2010-04-24 21:14 ` [PATCH 2/4] ir-core: centralize sysfs raw decoder enabling/disabling David Härdeman
2010-05-03 19:49   ` Mauro Carvalho Chehab
2010-06-07 18:48     ` David Härdeman
2010-04-24 21:14 ` [PATCH 3/4] ir-core: move decoding state to ir_raw_event_ctrl David Härdeman
2010-05-03 20:00   ` Mauro Carvalho Chehab
2010-06-07 19:00     ` David Härdeman
2010-06-07 20:15       ` Jarod Wilson
2010-06-08 17:50         ` David Härdeman
2010-06-09  3:46           ` Jarod Wilson
2010-06-09 13:29             ` Jarod Wilson
2010-06-09 17:56               ` David Härdeman
2010-06-09 18:15                 ` Jarod Wilson
2010-06-10  1:25                   ` Jarod Wilson
2010-06-13 20:29                     ` David Härdeman
2010-06-16 20:04                       ` Jarod Wilson
2010-06-16 20:41                         ` Jarod Wilson
2010-06-17 12:14                           ` Andy Walls
2010-06-17 15:11                             ` Jarod Wilson
2010-06-21  0:47                               ` Andy Walls
2010-06-21  3:51                                 ` Jarod Wilson
2010-06-21 11:04                                   ` Andy Walls
2010-07-06 17:12                                     ` Jarod Wilson
2010-04-24 21:14 ` [PATCH 4/4] ir-core: remove ir-functions usage from cx231xx David Härdeman

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=20100424210843.11570.82007.stgit@localhost.localdomain \
    --to=david@hardeman.nu \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).